diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
commit | d353f773bab8c0f92e149a74400aa31b57da9d05 (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /findutils/grep.c | |
parent | 3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff) | |
download | busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2 busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip |
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'findutils/grep.c')
-rw-r--r-- | findutils/grep.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/findutils/grep.c b/findutils/grep.c index 03945fa25..a2c07c523 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -31,21 +31,6 @@ | |||
31 | extern int optind; /* in unistd.h */ | 31 | extern int optind; /* in unistd.h */ |
32 | extern int errno; /* for use with strerror() */ | 32 | extern int errno; /* for use with strerror() */ |
33 | 33 | ||
34 | static const char grep_usage[] = | ||
35 | "grep [-ihHnqvs] pattern [files...]\n" | ||
36 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
37 | "\nSearch for PATTERN in each FILE or standard input.\n\n" | ||
38 | "Options:\n" | ||
39 | "\t-H\tprefix output lines with filename where match was found\n" | ||
40 | "\t-h\tsuppress the prefixing filename on output\n" | ||
41 | "\t-i\tignore case distinctions\n" | ||
42 | "\t-n\tprint line number with output lines\n" | ||
43 | "\t-q\tbe quiet. Returns 0 if result was found, 1 otherwise\n" | ||
44 | "\t-v\tselect non-matching lines\n" | ||
45 | "\t-s\tsuppress file open/read error messages\n\n" | ||
46 | #endif | ||
47 | ; | ||
48 | |||
49 | /* options */ | 34 | /* options */ |
50 | static int ignore_case = 0; | 35 | static int ignore_case = 0; |
51 | static int print_filename = 0; | 36 | static int print_filename = 0; |