git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
168f32e
)
remote: improve argument help for add --mirror
author
René Scharfe
<redacted>
Sun, 19 Aug 2018 17:34:43 +0000
(19:34 +0200)
committer
Junio C Hamano
<redacted>
Tue, 21 Aug 2018 18:33:21 +0000
(11:33 -0700)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/remote.c
patch
|
blob
|
history
diff --git
a/builtin/remote.c
b/builtin/remote.c
index 1a82d850a22c3bfc3176eeda3f8b061b6feb7dc4..4f95d21b5d8484455dc1342bb9800ce57eeafb3d 100644
(file)
--- 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()
git clone https://git.99rst.org/PROJECT