summaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
Diffstat (limited to 'grep.c')
-rw-r--r--grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grep.c b/grep.c
index 3eea779..475b4ef 100644
--- 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) {