aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-19 18:57:08 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-19 18:57:08 +0000
commit00b0496e6976462a4daa4e245ce863f126789eee (patch)
treef849839b27ef33f710e74b61e57d6fb6b5c07fcf
parent16f7015722fe62e9b89cad24435ed285f7d71cd9 (diff)
downloadbusybox-00b0496e6976462a4daa4e245ce863f126789eee.tar.gz
Doesn't need a "-" option -- getopt does that for us.
-rw-r--r--coreutils/rm.c4
-rw-r--r--rm.c4
2 files changed, 0 insertions, 8 deletions
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();
}