git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug v2.23.0: command help for 'git push --recurse-submodules' is incorrect
@ 2020-04-27  1:31 Andrew White
  2020-04-27  6:44 ` [PATCH] push: unset PARSE_OPT_OPTARG for --recurse-submodules Denton Liu
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew White @ 2020-04-27  1:31 UTC (permalink / raw)
  To: git

System: Mac OS X 10.12.6
git --version: git version 2.23.0

	% git push --\?
	error: unknown option `?'
	usage: git push [<options>] [<repository> [<refspec>...]]

	[snip]

	    --recurse-submodules[=(check|on-demand|no)]
	                          control recursive pushing of submodules

I read this as saying that the argument to recurse-submodules is optional.  However,

	% git push --recurse-submodules
	fatal: recurse-submodules missing parameter
	zsh: exit 128   git push --recurse-submodules

Manual page (git push --help) seems to indicate that argument to recurse-submodules is required.

I'm guessing it's just the command help that's incorrect.

--
Andrew


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-04-28 22:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-27  1:31 Bug v2.23.0: command help for 'git push --recurse-submodules' is incorrect Andrew White
2020-04-27  6:44 ` [PATCH] push: unset PARSE_OPT_OPTARG for --recurse-submodules Denton Liu
2020-04-27 12:02   ` Jeff King
2020-04-27 18:54     ` Junio C Hamano
2020-04-28  8:36       ` [PATCH] Use OPT_CALLBACK and OPT_CALLBACK_F Denton Liu
2020-04-28  8:45         ` Jeff King
2020-04-28 17:34           ` Junio C Hamano
2020-04-28 17:51       ` [PATCH] push: unset PARSE_OPT_OPTARG for --recurse-submodules Junio C Hamano
2020-04-28 22:59         ` Denton Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).