find: improve usage text (Natanael Copa <natanael.copa@gmail.com>)
[oweals/busybox.git] / coreutils / rm.c
index 490694a6e788a51596d4481ed3bcb36cbff36173..1883feed8d1f679af6d2ab8b3350f37781c53d3c 100644 (file)
@@ -18,6 +18,7 @@
 #include <unistd.h>
 #include "busybox.h"
 
+int rm_main(int argc, char **argv);
 int rm_main(int argc, char **argv)
 {
        int status = 0;
@@ -38,7 +39,7 @@ int rm_main(int argc, char **argv)
                        const char *base = bb_get_last_path_component(*argv);
 
                        if ((base[0] == '.') && (!base[1] || ((base[1] == '.') && !base[2]))) {
-                               bb_error_msg("cannot remove `.' or `..'");
+                               bb_error_msg("cannot remove '.' or '..'");
                        } else if (remove_file(*argv, flags) >= 0) {
                                continue;
                        }