From: Eric Andersen Date: Mon, 19 Mar 2001 18:57:08 +0000 (-0000) Subject: Doesn't need a "-" option -- getopt does that for us. X-Git-Tag: 0_51~117 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=00b0496e6976462a4daa4e245ce863f126789eee;p=oweals%2Fbusybox.git Doesn't need a "-" option -- getopt does that for us. --- diff --git a/coreutils/rm.c b/coreutils/rm.c index 013f3ee5d..a5b2ef420 100644 --- a/coreutils/rm.c +++ b/coreutils/rm.c @@ -85,7 +85,6 @@ extern int rm_main(int argc, char **argv) { int opt; int status = EXIT_SUCCESS; - int stopIt=FALSE; struct stat statbuf; @@ -108,9 +107,6 @@ extern int rm_main(int argc, char **argv) interactiveFlag = TRUE; #endif break; - case '-': - stopIt = TRUE; - break; default: show_usage(); } diff --git a/rm.c b/rm.c index 013f3ee5d..a5b2ef420 100644 --- a/rm.c +++ b/rm.c @@ -85,7 +85,6 @@ extern int rm_main(int argc, char **argv) { int opt; int status = EXIT_SUCCESS; - int stopIt=FALSE; struct stat statbuf; @@ -108,9 +107,6 @@ extern int rm_main(int argc, char **argv) interactiveFlag = TRUE; #endif break; - case '-': - stopIt = TRUE; - break; default: show_usage(); }