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) #endif /* do normal option parsing */ - while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) { + while ((opt = getopt(argc, argv, "hne:f:")) > 0) { switch (opt) { - case 'V': - printf("%s\n", full_version); - exit(0); - break; case 'h': usage(sed_usage); break; diff --git a/sed.c b/sed.c index 7b3a4236a..b54a9bb9c 100644 --- a/sed.c +++ b/sed.c @@ -672,12 +672,8 @@ extern int sed_main(int argc, char **argv) #endif /* do normal option parsing */ - while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) { + while ((opt = getopt(argc, argv, "hne:f:")) > 0) { switch (opt) { - case 'V': - printf("%s\n", full_version); - exit(0); - break; case 'h': usage(sed_usage); break;