From 4ff61c21de519b4b3c9569b354fa5a3905b69c6a Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 28 Jan 2010 12:33:42 -0800 Subject: grep --quiet: finishing touches Name the option "--quiet" not "--quick", document it, and add tests. Signed-off-by: Junio C Hamano --- builtin-grep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin-grep.c') diff --git a/builtin-grep.c b/builtin-grep.c index 6cc743d7c5..9bd467c9b9 100644 --- a/builtin-grep.c +++ b/builtin-grep.c @@ -832,7 +832,7 @@ int cmd_grep(int argc, const char **argv, const char *prefix) { OPTION_CALLBACK, ')', NULL, &opt, NULL, "", PARSE_OPT_NOARG | PARSE_OPT_NONEG | PARSE_OPT_NODASH, close_callback }, - OPT_BOOLEAN('q', "quick", &opt.status_only, + OPT_BOOLEAN('q', "quiet", &opt.status_only, "indicate hit with exit status without output"), OPT_BOOLEAN(0, "all-match", &opt.all_match, "show only matches from files that match all patterns"), -- cgit v1.2.1