Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/banner Sort options in man page. Add EXIT STATUS sec...



details:   https://anonhg.NetBSD.org/src/rev/ce5863411865
branches:  trunk
changeset: 777631:ce5863411865
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Feb 26 21:04:10 2012 +0000

description:
Sort options in man page. Add EXIT STATUS section. Bump date.
Sync usage with man page.

Mostly from Bug Hunting in PR 46102.

diffstat:

 usr.bin/banner/banner.1 |  16 ++++++----------
 usr.bin/banner/banner.c |   6 +++---
 2 files changed, 9 insertions(+), 13 deletions(-)

diffs (71 lines):

diff -r cf7a322fbf07 -r ce5863411865 usr.bin/banner/banner.1
--- a/usr.bin/banner/banner.1   Sun Feb 26 20:32:40 2012 +0000
+++ b/usr.bin/banner/banner.1   Sun Feb 26 21:04:10 2012 +0000
@@ -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@localhost
 .\"
-.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 l
 .Op Fl b Ar bg
-.Ek
-.Bk -words
-.Op Fl l
-.Ek
+.Op Fl f Ar fg
 .Ar string ...
 .Sh DESCRIPTION
 .Nm
@@ -63,5 +57,7 @@
 .Nm
 font.
 .El
+.Sh EXIT STATUS                                                                                                                                                                                        
            
+.Ex -std                                                                                                                                                                                               
            
 .Sh SEE ALSO
 .Xr banner 6
diff -r cf7a322fbf07 -r ce5863411865 usr.bin/banner/banner.c
--- a/usr.bin/banner/banner.c   Sun Feb 26 20:32:40 2012 +0000
+++ b/usr.bin/banner/banner.c   Sun Feb 26 21:04:10 2012 +0000
@@ -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 @@
 #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 @@
 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);
 }



Home | Main Index | Thread Index | Old Index