X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fgrep.c;h=adb542494dde32123011b1e76ed164ab39e6e716;hb=9bec60d3a52fa10b276214f8d255d6ff05a04b77;hp=3d5f6ace97b806fd7dba9f8c5d62abcdbd903681;hpb=109a8037a9c7d5dc5b93e637c663406159ab3a75;p=git.git diff --git a/builtin/grep.c b/builtin/grep.c index 3d5f6ace9..adb542494 100644 --- a/builtin/grep.c +++ b/builtin/grep.c @@ -915,8 +915,8 @@ 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', "quiet", &opt.status_only, - "indicate hit with exit status without output"), + OPT__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"), OPT_GROUP(""),