diff options
Diffstat (limited to 'grep.c')
-rw-r--r-- | grep.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -41,8 +41,9 @@ | |||
41 | #include <ctype.h> | 41 | #include <ctype.h> |
42 | 42 | ||
43 | static const char grep_usage[] = | 43 | static const char grep_usage[] = |
44 | "grep [OPTIONS]... PATTERN [FILE]...\n\n" | 44 | "grep [OPTIONS]... PATTERN [FILE]...\n" |
45 | "Search for PATTERN in each FILE or standard input.\n\n" | 45 | #ifndef BB_FEATURE_TRIVIAL_HELP |
46 | "\nSearch for PATTERN in each FILE or standard input.\n\n" | ||
46 | "OPTIONS:\n" | 47 | "OPTIONS:\n" |
47 | "\t-h\tsuppress the prefixing filename on output\n" | 48 | "\t-h\tsuppress the prefixing filename on output\n" |
48 | "\t-i\tignore case distinctions\n" | 49 | "\t-i\tignore case distinctions\n" |
@@ -52,8 +53,10 @@ static const char grep_usage[] = | |||
52 | #if defined BB_REGEXP | 53 | #if defined BB_REGEXP |
53 | "This version of grep matches full regular expresions.\n"; | 54 | "This version of grep matches full regular expresions.\n"; |
54 | #else | 55 | #else |
55 | "This version of grep matches strings (not regular expresions).\n"; | 56 | "This version of grep matches strings (not regular expresions).\n" |
56 | #endif | 57 | #endif |
58 | #endif | ||
59 | ; | ||
57 | 60 | ||
58 | static int match = FALSE, beQuiet = FALSE; | 61 | static int match = FALSE, beQuiet = FALSE; |
59 | 62 | ||