Skip to content

Commit 446e63c

Browse files
rscharfegitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 168f32e commit 446e63c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ static int add(int argc, const char **argv)
167167
OPT_STRING_LIST('t', "track", &track, N_("branch"),
168168
N_("branch(es) to track")),
169169
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)",
171171
N_("set up remote as a mirror to push to or fetch from"),
172172
PARSE_OPT_OPTARG | PARSE_OPT_COMP_ARG, parse_mirror_opt },
173173
OPT_END()

0 commit comments

Comments
 (0)