diff options
Diffstat (limited to 'grep.c')
-rw-r--r-- | grep.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -105,10 +105,6 @@ extern int grep_main(int argc, char **argv) | |||
105 | int opt; | 105 | int opt; |
106 | int reflags; | 106 | int reflags; |
107 | 107 | ||
108 | /* do special-case option parsing */ | ||
109 | if (argv[1] && (strcmp(argv[1], "--help") == 0)) | ||
110 | usage(grep_usage); | ||
111 | |||
112 | /* do normal option parsing */ | 108 | /* do normal option parsing */ |
113 | while ((opt = getopt(argc, argv, "iHhnqvsc")) > 0) { | 109 | while ((opt = getopt(argc, argv, "iHhnqvsc")) > 0) { |
114 | switch (opt) { | 110 | switch (opt) { |