summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/grep.c
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2004-09-28 20:51:15 +0000
committerjmc <jmc@openbsd.org>2004-09-28 20:51:15 +0000
commit0a24c0fe4b6b8c45af3b36912a99db232b978d1e (patch)
treee7a8034a6fbc7fa85629d4092ee87818f6646f47 /usr.bin/grep/grep.c
parenttypos and fixes which make the databases follow the format specified (diff)
downloadwireguard-openbsd-0a24c0fe4b6b8c45af3b36912a99db232b978d1e.tar.xz
wireguard-openbsd-0a24c0fe4b6b8c45af3b36912a99db232b978d1e.zip
various fixes to make this page a bit clearer and hopefully a bit
more helpful; this includes some ideas/fixes from otto and jared;
Diffstat (limited to 'usr.bin/grep/grep.c')
-rw-r--r--usr.bin/grep/grep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/grep/grep.c b/usr.bin/grep/grep.c
index 8ce5a0cb96d..3f96ea62a4a 100644
--- a/usr.bin/grep/grep.c
+++ b/usr.bin/grep/grep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grep.c,v 1.29 2004/08/05 21:47:33 deraadt Exp $ */
+/* $OpenBSD: grep.c,v 1.30 2004/09/28 20:51:15 jmc Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -107,12 +107,12 @@ usage(void)
{
fprintf(stderr,
#ifdef NOZ
- "usage: %s [-AB num] [-CEFGHILPRSUVabchilnoqsvwx]\n"
+ "usage: %s [-abcEFGHhIiLlnoPqRSsUVvwx] [-A num] [-B num] [-C[num]]\n"
#else
- "usage: %s [-AB num] [-CEFGHILPRSUVZabchilnoqsvwx]\n"
+ "usage: %s [-abcEFGHhIiLlnoPqRSsUVvwxZ] [-A num] [-B num] [-C[num]]\n"
#endif
- "\t[--context[=num]] [--binary-files=value] [--line-buffered]\n"
- "\t[-e pattern] [-f file] [pattern] [file ...]\n", __progname);
+ "\t[-e pattern] [-f file] [--binary-files=value] [--context[=num]]\n"
+ "\t[--line-buffered] [pattern] [file ...]\n", __progname);
exit(2);
}