{"thread":{"id":"49162","subject":"[PATCH] remote: improve argument help for add --mirror","startedAt":"2018-08-19T17:34:54Z","lastAt":"2018-08-19T17:34:54Z","messageCount":1,"participants":["René Scharfe"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"356035","messageId":"03cafb74-1671-727a-b53d-519381b18e32@web.de","threadId":"49162","inReplyTo":null,"subject":"[PATCH] remote: improve argument help for add --mirror","fromName":"René Scharfe","fromEmail":"l.s.r@web.de","sentAt":"2018-08-19T17:34:43Z","receivedAt":"2018-08-19T17:34:54Z","isPatch":true,"sender":{"key":"l.s.r@web.de","avatar":"https://avatars.githubusercontent.com/u/26122331?v=4"},"body":"Group the possible values using a pair of parentheses and don't mark\nthem for translation, as they are literal strings that have to be used\nas-is in any locale.\n\nSigned-off-by: Rene Scharfe <l.s.r@web.de>\n---\n builtin/remote.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/builtin/remote.c b/builtin/remote.c\nindex 07bd51f8eb..7876db1c20 100644\n--- a/builtin/remote.c\n+++ b/builtin/remote.c\n@@ -168,7 +168,7 @@ static int add(int argc, const char **argv)\n \t\tOPT_STRING_LIST('t', \"track\", &track, N_(\"branch\"),\n \t\t\t\tN_(\"branch(es) to track\")),\n \t\tOPT_STRING('m', \"master\", &master, N_(\"branch\"), N_(\"master branch\")),\n-\t\t{ OPTION_CALLBACK, 0, \"mirror\", &mirror, N_(\"push|fetch\"),\n+\t\t{ OPTION_CALLBACK, 0, \"mirror\", &mirror, \"(push|fetch)\",\n \t\t\tN_(\"set up remote as a mirror to push to or fetch from\"),\n \t\t\tPARSE_OPT_OPTARG | PARSE_OPT_COMP_ARG, parse_mirror_opt },\n \t\tOPT_END()\n-- \n2.18.0\n"}]}