diff options
author | Ralf Thielow <ralf.thielow@gmail.com> | 2014-11-18 18:57:46 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-18 11:19:16 -0800 |
commit | eedc4be54f41c49000b628a48c4926451986f121 (patch) | |
tree | a376be7f22a07b94849ffeac580c09ea429d77c6 /builtin/push.c | |
parent | eeff891ac756fd97a05476446f15269b714ce4cc (diff) | |
download | git-eedc4be54f41c49000b628a48c4926451986f121.tar.gz |
builtin/push.c: fix description of --recurse-submodules optionrt/push-recurse-submodule-usage-string
The description of the option for argument "recurse-submodules"
is marked for translation even if it expects the untranslated
string and it's missing the option "on-demand" which was introduced
in eb21c73 (2014-03-29, push: teach --recurse-submodules the on-demand
option). Fix this by unmark the string for translation and add the
missing option.
Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/push.c')
-rw-r--r-- | builtin/push.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/push.c b/builtin/push.c index 7b1b66c36a..17fc31dd0d 100644 --- a/builtin/push.c +++ b/builtin/push.c @@ -463,7 +463,7 @@ int cmd_push(int argc, const char **argv, const char *prefix) 0, CAS_OPT_NAME, &cas, N_("refname>:<expect"), N_("require old value of ref to be at this value"), PARSE_OPT_OPTARG, parseopt_push_cas_option }, - { OPTION_CALLBACK, 0, "recurse-submodules", &flags, N_("check"), + { OPTION_CALLBACK, 0, "recurse-submodules", &flags, "check|on-demand", N_("control recursive pushing of submodules"), PARSE_OPT_OPTARG, option_parse_recurse_submodules }, OPT_BOOL( 0 , "thin", &thin, N_("use thin pack")), |