Merge branch 'rt/push-recurse-submodule-usage-string'
authorJunio C Hamano <gitster@pobox.com>
Fri, 12 Dec 2014 22:31:38 +0000 (14:31 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Dec 2014 22:31:38 +0000 (14:31 -0800)
* rt/push-recurse-submodule-usage-string:
builtin/push.c: fix description of --recurse-submodules option

builtin/push.c
index a076b1964d6ac0ca96496eda4e88fd23409299a9..cfa20c266bf10d2c2366b88a5e0bb120dd67c168 100644 (file)
@@ -503,7 +503,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")),