diff options
| author | Junio C Hamano <gitster@pobox.com> | 2018-08-27 14:33:43 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-08-27 14:33:43 -0700 |
| commit | fc0df933c8fa09603a9e9798085ee07ca1a83f65 (patch) | |
| tree | eb9d2ad782975bd21f6725e0a30add4a374ccadb /builtin/remote.c | |
| parent | 6e96e88ae43e8c78ec0066b0ee87d53987b14098 (diff) | |
| parent | bbc072f5d884d17a6102fd04ae6d2cfcaa98ad48 (diff) | |
| download | git-fc0df933c8fa09603a9e9798085ee07ca1a83f65.tar.xz | |
Merge branch 'rs/opt-updates'
"git cmd -h" updates.
* rs/opt-updates:
parseopt: group literal string alternatives in argument help
remote: improve argument help for add --mirror
checkout-index: improve argument help for --stage
Diffstat (limited to 'builtin/remote.c')
| -rw-r--r-- | builtin/remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/remote.c b/builtin/remote.c index 07bd51f8eb..7876db1c20 100644 --- a/builtin/remote.c +++ b/builtin/remote.c @@ -168,7 +168,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() |
