Module Name: src
Committed By: wiz
Date: Fri May 20 07:09:52 UTC 2011
Modified Files:
src/usr.bin/error: main.c
Log Message:
Sync usage with man page.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/error/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/error/main.c
diff -u src/usr.bin/error/main.c:1.18 src/usr.bin/error/main.c:1.19
--- src/usr.bin/error/main.c:1.18 Thu May 19 22:55:53 2011
+++ src/usr.bin/error/main.c Fri May 20 07:09:52 2011
@@ -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);
}