Credited Christophe Boyaniqu for interactive patch to rm.
[oweals/busybox.git] / grep.c
diff --git a/grep.c b/grep.c
index 3eea7792fb98f2461202f3b84265746bf56025c2..475b4ef212c1e79950609fc990331587df785638 100644 (file)
--- a/grep.c
+++ b/grep.c
@@ -237,7 +237,7 @@ extern int grep_main(int argc, char **argv)
 
        /* argv[optind] should be the regex pattern; no pattern, no worky */
        if (argv[optind] == NULL)
-               usage(grep_usage);
+               show_usage();
 
        /* sanity check */
        if (print_count_only || be_quiet) {