aboutsummaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
Diffstat (limited to 'grep.c')
-rw-r--r--grep.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/grep.c b/grep.c
index 8dcff0586..84bb99667 100644
--- a/grep.c
+++ b/grep.c
@@ -32,15 +32,16 @@
32#include <ctype.h> 32#include <ctype.h>
33 33
34static const char grep_usage[] = 34static const char grep_usage[] =
35"grep [-ihn]... PATTERN [FILE]...\n" 35"grep [OPTIONS]... PATTERN [FILE]...\n\n"
36"Search for PATTERN in each FILE or standard input.\n\n" 36"Search for PATTERN in each FILE or standard input.\n\n"
37"OPTIONS:\n"
37"\t-h\tsuppress the prefixing filename on output\n" 38"\t-h\tsuppress the prefixing filename on output\n"
38"\t-i\tignore case distinctions\n" 39"\t-i\tignore case distinctions\n"
39"\t-n\tprint line number with output lines\n\n" 40"\t-n\tprint line number with output lines\n\n"
40#if defined BB_REGEXP 41#if defined BB_REGEXP
41"This version of grep matches full regexps.\n"; 42"This version of grep matches full regular expresions.\n";
42#else 43#else
43"This version of grep matches strings (not regexps).\n"; 44"This version of grep matches strings (not regular expresions).\n";
44#endif 45#endif
45 46
46 47