summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorMark Whitley2000-07-20 23:08:40 +0000
committerMark Whitley2000-07-20 23:08:40 +0000
commit1f45b268cb5b0b11557f562ee5a5f54d60ac72aa (patch)
tree704dc3055f1393bfff4e8bc5bb0eae4d0d6a7a44 /editors
parent1ac435c15e23ae1bdd87d2b77754b6f6eb159bee (diff)
downloadbusybox-1f45b268cb5b0b11557f562ee5a5f54d60ac72aa.zip
busybox-1f45b268cb5b0b11557f562ee5a5f54d60ac72aa.tar.gz
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.
Diffstat (limited to 'editors')
-rw-r--r--editors/sed.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 7b3a423..b54a9bb 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;