sort is good to go.
[oweals/busybox.git] / rm.c
diff --git a/rm.c b/rm.c
index ba5d30e92edafa6d144109fcd4d28d526b3c1b29..ee434fb3984705e4379220f3cb0653585a21f6a0 100644 (file)
--- a/rm.c
+++ b/rm.c
@@ -31,8 +31,8 @@
 static const char* rm_usage = "rm [OPTION]... FILE...\n\n"
 "Remove (unlink) the FILE(s).\n\n"
 "Options:\n"
-"\t-f\tremove existing destinations, never prompt\n"
-"\t-r\tremove the contents of directories recursively\n";
+"\t-f\t\tremove existing destinations, never prompt\n"
+"\t-r or -R\tremove the contents of directories recursively\n";
 
 
 static int recursiveFlag = FALSE;
@@ -72,6 +72,7 @@ extern int rm_main(int argc, char **argv)
     while (**argv == '-') {
        while (*++(*argv))
            switch (**argv) {
+           case 'R':
            case 'r':
                recursiveFlag = TRUE;
                break;