diff options
-rw-r--r-- | editors/sed.c | 6 | ||||
-rw-r--r-- | sed.c | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/editors/sed.c b/editors/sed.c index 7b3a4236a..b54a9bb9c 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -672,12 +672,8 @@ extern int sed_main(int argc, char **argv) | |||
672 | #endif | 672 | #endif |
673 | 673 | ||
674 | /* do normal option parsing */ | 674 | /* do normal option parsing */ |
675 | while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) { | 675 | while ((opt = getopt(argc, argv, "hne:f:")) > 0) { |
676 | switch (opt) { | 676 | switch (opt) { |
677 | case 'V': | ||
678 | printf("%s\n", full_version); | ||
679 | exit(0); | ||
680 | break; | ||
681 | case 'h': | 677 | case 'h': |
682 | usage(sed_usage); | 678 | usage(sed_usage); |
683 | break; | 679 | break; |
@@ -672,12 +672,8 @@ extern int sed_main(int argc, char **argv) | |||
672 | #endif | 672 | #endif |
673 | 673 | ||
674 | /* do normal option parsing */ | 674 | /* do normal option parsing */ |
675 | while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) { | 675 | while ((opt = getopt(argc, argv, "hne:f:")) > 0) { |
676 | switch (opt) { | 676 | switch (opt) { |
677 | case 'V': | ||
678 | printf("%s\n", full_version); | ||
679 | exit(0); | ||
680 | break; | ||
681 | case 'h': | 677 | case 'h': |
682 | usage(sed_usage); | 678 | usage(sed_usage); |
683 | break; | 679 | break; |