aboutsummaryrefslogtreecommitdiff
path: root/sed.c
diff options
context:
space:
mode:
authormarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-20 23:08:40 +0000
committermarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-20 23:08:40 +0000
commit2cfa059c875608546c14051780334579707f0dd3 (patch)
tree704dc3055f1393bfff4e8bc5bb0eae4d0d6a7a44 /sed.c
parent9aa10d38eab79fc0df808dcbbf23dd812fa7b36c (diff)
downloadbusybox-w32-2cfa059c875608546c14051780334579707f0dd3.tar.gz
busybox-w32-2cfa059c875608546c14051780334579707f0dd3.tar.bz2
busybox-w32-2cfa059c875608546c14051780334579707f0dd3.zip
As per a discussion on the mailing list between Matt and Pavel. I have removed
the -V (version) flag from busybox sed. It is unnecessary because sed is not a standalone and should therefore be independently reporting a version number. Moreover, it is extra code that we just don't need. git-svn-id: svn://busybox.net/trunk/busybox@889 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'sed.c')
-rw-r--r--sed.c6
1 files changed, 1 insertions, 5 deletions
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)
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;