summaryrefslogtreecommitdiff
path: root/builtin/remote.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2018-08-19 17:34:43 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-21 18:33:21 (GMT)
commit446e63ccf536782263be3659d41b6c603c851bce (patch)
tree016eb80c7cceb6db8802059385a014541f43bf14 /builtin/remote.c
parent168f32eb10c2c974ebdfb04dcfc48ef9f7c959b4 (diff)
downloadgit-446e63ccf536782263be3659d41b6c603c851bce.zip
git-446e63ccf536782263be3659d41b6c603c851bce.tar.gz
git-446e63ccf536782263be3659d41b6c603c851bce.tar.bz2
remote: improve argument help for add --mirror
Group the possible values using a pair of parentheses and don't mark them for translation, as they are literal strings that have to be used as-is in any locale. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/remote.c')
-rw-r--r--builtin/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/remote.c b/builtin/remote.c
index 1a82d85..4f95d21 100644
--- a/builtin/remote.c
+++ b/builtin/remote.c
@@ -167,7 +167,7 @@ static int add(int argc, const char **argv)
OPT_STRING_LIST('t', "track", &track, N_("branch"),
N_("branch(es) to track")),
OPT_STRING('m', "master", &master, N_("branch"), N_("master branch")),
- { OPTION_CALLBACK, 0, "mirror", &mirror, N_("push|fetch"),
+ { OPTION_CALLBACK, 0, "mirror", &mirror, "(push|fetch)",
N_("set up remote as a mirror to push to or fetch from"),
PARSE_OPT_OPTARG | PARSE_OPT_COMP_ARG, parse_mirror_opt },
OPT_END()