diff options
author | René Scharfe <l.s.r@web.de> | 2018-08-19 19:34:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-21 20:35:54 +0200 |
commit | bbc072f5d884d17a6102fd04ae6d2cfcaa98ad48 (patch) | |
tree | 328de077a906da9b57ec9c59171f4fbb97c59fd1 /builtin/send-pack.c | |
parent | remote: improve argument help for add --mirror (diff) | |
download | git-bbc072f5d884d17a6102fd04ae6d2cfcaa98ad48.tar.xz git-bbc072f5d884d17a6102fd04ae6d2cfcaa98ad48.zip |
parseopt: group literal string alternatives in argument help
This formally clarifies that the "--option=" part is the same for all
alternatives.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rw-r--r-- | builtin/send-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/send-pack.c b/builtin/send-pack.c index 4923b1058c..bca6ea22dd 100644 --- a/builtin/send-pack.c +++ b/builtin/send-pack.c @@ -166,7 +166,7 @@ int cmd_send_pack(int argc, const char **argv, const char *prefix) OPT_BOOL(0, "mirror", &send_mirror, N_("mirror all refs")), OPT_BOOL('f', "force", &force_update, N_("force updates")), { OPTION_CALLBACK, - 0, "signed", &push_cert, "yes|no|if-asked", N_("GPG sign the push"), + 0, "signed", &push_cert, "(yes|no|if-asked)", N_("GPG sign the push"), PARSE_OPT_OPTARG, option_parse_push_signed }, OPT_STRING_LIST(0, "push-option", &push_options, N_("server-specific"), |