grep --quiet: finishing touches
Name the option "--quiet" not "--quick", document it, and add tests. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
@ -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"),
|
||||
|
Reference in New Issue
Block a user