typo fix in a comment in a testcase. oh well...
[oweals/busybox.git] / coreutils / rm.c
index 975f2267b1f219cfd427601b2707e0654c0b009f..6b3fbcf253d7811b8a5c3144d7d4fed6495981f0 100644 (file)
@@ -27,13 +27,14 @@ int rm_main(int argc UNUSED_PARAM, char **argv)
        unsigned opt;
 
        opt_complementary = "f-i:i-f";
-       opt = getopt32(argv, "fiRr");
+       /* -v (verbose) is ignored */
+       opt = getopt32(argv, "fiRrv");
        argv += optind;
        if (opt & 1)
                flags |= FILEUTILS_FORCE;
        if (opt & 2)
                flags |= FILEUTILS_INTERACTIVE;
-       if (opt & 12)
+       if (opt & (8|4))
                flags |= FILEUTILS_RECUR;
 
        if (*argv != NULL) {