Sort options in man page. Add EXIT STATUS section. Bump date.

Sync usage with man page.

Mostly from Bug Hunting in PR 46102.
This commit is contained in:
wiz 2012-02-26 21:04:10 +00:00
parent c6db16971c
commit 6e31cc7bbd
2 changed files with 9 additions and 13 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: banner.1,v 1.7 2002/09/30 09:33:39 grant Exp $
.\" $NetBSD: banner.1,v 1.8 2012/02/26 21:04:10 wiz Exp $
.\"
.\" @(#)Copyright (c) 1995, Simon J. Gerraty.
.\"
@ -15,7 +15,7 @@
.\" Please send copies of changes and bug-fixes to:
.\" sjg@zen.void.oz.au
.\"
.Dd April 9, 1995
.Dd February 26, 2012
.Dt BANNER 1
.Os
.Sh NAME
@ -23,15 +23,9 @@
.Nd print strings in large letters
.Sh SYNOPSIS
.Nm
.Bk -words
.Op Fl f Ar fg
.Ek
.Bk -words
.Op Fl b Ar bg
.Ek
.Bk -words
.Op Fl l
.Ek
.Op Fl b Ar bg
.Op Fl f Ar fg
.Ar string ...
.Sh DESCRIPTION
.Nm
@ -63,5 +57,7 @@ Use the more attractive LPD font instead of the traditional
.Nm
font.
.El
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr banner 6

View File

@ -1,4 +1,4 @@
/* $NetBSD: banner.c,v 1.13 2011/08/29 14:24:03 joerg Exp $ */
/* $NetBSD: banner.c,v 1.14 2012/02/26 21:04:10 wiz Exp $ */
/*
* Changes for banner(1)
@ -58,7 +58,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\
#if 0
static char sccsid[] = "@(#)printjob.c 8.2 (Berkeley) 4/16/94";
#else
__RCSID("$NetBSD: banner.c,v 1.13 2011/08/29 14:24:03 joerg Exp $");
__RCSID("$NetBSD: banner.c,v 1.14 2012/02/26 21:04:10 wiz Exp $");
#endif
#endif /* not lint */
@ -205,7 +205,7 @@ main(int argc, char **argv)
static void
usage(void)
{
fprintf(stderr, "usage: %s [-f fgchar] [-b bgchar] [-l] message...\n",
fprintf(stderr, "usage: %s [-l] [b bg] [-f fg] message...\n",
getprogname());
exit(1);
}