Skip to content

Commit bb87344

Browse files
committed
Merge branch 'rt/push-recurse-submodule-usage-string'
* rt/push-recurse-submodule-usage-string: builtin/push.c: fix description of --recurse-submodules option
2 parents 974df59 + eedc4be commit bb87344

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

builtin/push.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ int cmd_push(int argc, const char **argv, const char *prefix)
503503
0, CAS_OPT_NAME, &cas, N_("refname>:<expect"),
504504
N_("require old value of ref to be at this value"),
505505
PARSE_OPT_OPTARG, parseopt_push_cas_option },
506-
{ OPTION_CALLBACK, 0, "recurse-submodules", &flags, N_("check"),
506+
{ OPTION_CALLBACK, 0, "recurse-submodules", &flags, "check|on-demand",
507507
N_("control recursive pushing of submodules"),
508508
PARSE_OPT_OPTARG, option_parse_recurse_submodules },
509509
OPT_BOOL( 0 , "thin", &thin, N_("use thin pack")),

0 commit comments

Comments
 (0)