Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/error Sync usage with man page.



details:   https://anonhg.NetBSD.org/src/rev/ccf07a9fe818
branches:  trunk
changeset: 765139:ccf07a9fe818
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri May 20 07:09:52 2011 +0000

description:
Sync usage with man page.

diffstat:

 usr.bin/error/main.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r df62209c1fd7 -r ccf07a9fe818 usr.bin/error/main.c
--- a/usr.bin/error/main.c      Fri May 20 07:08:24 2011 +0000
+++ b/usr.bin/error/main.c      Fri May 20 07:09:52 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.18 2011/05/19 22:55:53 christos Exp $       */
+/*     $NetBSD: main.c,v 1.19 2011/05/20 07:09:52 wiz Exp $    */
 
 /*
  * Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c     8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: main.c,v 1.18 2011/05/19 22:55:53 christos Exp $");
+__RCSID("$NetBSD: main.c,v 1.19 2011/05/20 07:09:52 wiz Exp $");
 #endif /* not lint */
 
 #include <signal.h>
@@ -297,7 +297,7 @@
 static void
 usage(void)
 {
-       fprintf(stderr, "Usage: %s [-nqSsTv] [-I <ignorename>] "
-           "[-t <suffixlist>] [-p <level>] <infile>\n", getprogname());
+       fprintf(stderr, "Usage: %s [-nqSsTv] [-I ignorefile] "
+           "[-p filelevel] [-t suffixlist] [name]\n", getprogname());
        exit(1);
 }



Home | Main Index | Thread Index | Old Index