aboutsummaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
Diffstat (limited to 'grep.c')
-rw-r--r--grep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/grep.c b/grep.c
index 2f240e4c2..6161ba766 100644
--- a/grep.c
+++ b/grep.c
@@ -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) {