aboutsummaryrefslogtreecommitdiff
path: root/rm.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-11-19 02:38:58 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-11-19 02:38:58 +0000
commit1fede547092c5302a27d5c668a47335b36fcdf53 (patch)
tree4a39b721f4654120bff47fcd7cd95906172ec16f /rm.c
parent428e6f87cf87d39db56731f17c4d082a792e2f70 (diff)
downloadbusybox-w32-1fede547092c5302a27d5c668a47335b36fcdf53.tar.gz
busybox-w32-1fede547092c5302a27d5c668a47335b36fcdf53.tar.bz2
busybox-w32-1fede547092c5302a27d5c668a47335b36fcdf53.zip
Stuf
git-svn-id: svn://busybox.net/trunk/busybox@108 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'rm.c')
-rw-r--r--rm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/rm.c b/rm.c
index ba5d30e92..ee434fb39 100644
--- a/rm.c
+++ b/rm.c
@@ -31,8 +31,8 @@
31static const char* rm_usage = "rm [OPTION]... FILE...\n\n" 31static const char* rm_usage = "rm [OPTION]... FILE...\n\n"
32"Remove (unlink) the FILE(s).\n\n" 32"Remove (unlink) the FILE(s).\n\n"
33"Options:\n" 33"Options:\n"
34"\t-f\tremove existing destinations, never prompt\n" 34"\t-f\t\tremove existing destinations, never prompt\n"
35"\t-r\tremove the contents of directories recursively\n"; 35"\t-r or -R\tremove the contents of directories recursively\n";
36 36
37 37
38static int recursiveFlag = FALSE; 38static int recursiveFlag = FALSE;
@@ -72,6 +72,7 @@ extern int rm_main(int argc, char **argv)
72 while (**argv == '-') { 72 while (**argv == '-') {
73 while (*++(*argv)) 73 while (*++(*argv))
74 switch (**argv) { 74 switch (**argv) {
75 case 'R':
75 case 'r': 76 case 'r':
76 recursiveFlag = TRUE; 77 recursiveFlag = TRUE;
77 break; 78 break;