add --null to usage() forgot in previous commit. reminded by jmc@, thanks!
authorop <op@openbsd.org>
Sun, 26 Jun 2022 18:48:10 +0000 (18:48 +0000)
committerop <op@openbsd.org>
Sun, 26 Jun 2022 18:48:10 +0000 (18:48 +0000)
usr.bin/grep/grep.c

index 181af7f..680bede 100644 (file)
@@ -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);
 }