add description parameter to OPT__QUIET
Allows better help text to be defined than "be quiet". Also make use of the macro in a place that already had a different description. No object code changes intended. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
e21adb8c10
commit
d52ee6e613
@ -193,7 +193,7 @@ static const struct option show_ref_options[] = {
|
||||
"only show SHA1 hash using <n> digits",
|
||||
PARSE_OPT_OPTARG, &hash_callback },
|
||||
OPT__ABBREV(&abbrev),
|
||||
OPT__QUIET(&quiet),
|
||||
OPT__QUIET(&quiet, "be quiet"),
|
||||
{ OPTION_CALLBACK, 0, "exclude-existing", &exclude_existing_arg,
|
||||
"pattern", "show refs from stdin that aren't in local repository",
|
||||
PARSE_OPT_OPTARG | PARSE_OPT_NONEG, exclude_existing_callback },
|
||||
|
Reference in New Issue
Block a user