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>

René Scharfe committed Aug 19, 2018 at 19:34 UTC 446e63ccf536782263be3659d41b6c603c851bce
1 file changed +1 -1
builtin/remote.c
+1 -1
@@ -167,7 +167,7 @@ static int add(int argc, const char **argv)
167 OPT_STRING_LIST('t', "track", &track, N_("branch"),
168 N_("branch(es) to track")),
169 OPT_STRING('m', "master", &master, N_("branch"), N_("master branch")),
170 - { OPTION_CALLBACK, 0, "mirror", &mirror, N_("push|fetch"),
170 + { OPTION_CALLBACK, 0, "mirror", &mirror, "(push|fetch)",
171 N_("set up remote as a mirror to push to or fetch from"),
172 PARSE_OPT_OPTARG | PARSE_OPT_COMP_ARG, parse_mirror_opt },
173 OPT_END()