summaryrefslogtreecommitdiff
path: root/builtin/push.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-12-12 14:31:38 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-12-12 14:31:38 -0800
commitbb87344a74119abeb2ca8c7f42f89ccad1ba6e32 (patch)
tree55e3e5203c2c6e5a6cc62a596d2c85b981083b87 /builtin/push.c
parentMerge branch 'jk/rebuild-perl-scripts-with-no-perl-seting-change' (diff)
parentbuiltin/push.c: fix description of --recurse-submodules option (diff)
downloadtgif-bb87344a74119abeb2ca8c7f42f89ccad1ba6e32.tar.xz
Merge branch 'rt/push-recurse-submodule-usage-string'
* rt/push-recurse-submodule-usage-string: builtin/push.c: fix description of --recurse-submodules option
Diffstat (limited to 'builtin/push.c')
-rw-r--r--builtin/push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/push.c b/builtin/push.c
index a076b1964d..cfa20c266b 100644
--- a/builtin/push.c
+++ b/builtin/push.c
@@ -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")),