summaryrefslogtreecommitdiff
path: root/usr.bin/grep
diff options
context:
space:
mode:
authorop <op@cvs.openbsd.org>2022-06-26 18:48:11 +0000
committerop <op@cvs.openbsd.org>2022-06-26 18:48:11 +0000
commit56bba0d1411056beafe7fb614e4beea597228c10 (patch)
tree982608436f55d489d833fdec420821f977bb6325 /usr.bin/grep
parentf2a21105145fe7b042a19e6e4aa89010155f5988 (diff)
add --null to usage() forgot in previous commit. reminded by jmc@, thanks!
Diffstat (limited to 'usr.bin/grep')
-rw-r--r--usr.bin/grep/grep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/grep/grep.c b/usr.bin/grep/grep.c
index 181af7f6ada..680bedeed2f 100644
--- a/usr.bin/grep/grep.c
+++ b/usr.bin/grep/grep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grep.c,v 1.66 2022/06/26 10:57:36 op Exp $ */
+/* $OpenBSD: grep.c,v 1.67 2022/06/26 18:48:10 op Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -118,7 +118,8 @@ usage(void)
#endif
" [-e pattern]\n"
"\t[-f file] [-m num] [--binary-files=value] [--context[=num]]\n"
- "\t[--label=name] [--line-buffered] [pattern] [file ...]\n",
+ "\t[--label=name] [--line-buffered] [--null] [pattern]"
+ " [file ...]\n",
__progname);
exit(2);
}