From: Jay Soffian Date: Mon, 26 Oct 2009 18:17:04 GMT Subject: Re: [PATCH] git checkout --no-guess Message-ID: <76718490910261117i60a556ebv7405e945796a3610@mail.gmail.com> In-Reply-To: <32541b130910211551n13e0dd1bha6dcdc82d1d6b4cd@mail.gmail.com> On Wed, Oct 21, 2009 at 3:51 PM, Avery Pennarun wrote: > On Wed, Oct 21, 2009 at 6:35 PM, Junio C Hamano wrote: >> As this is strictly script-only option, do not even bother to document it, >> and do bother to hide it from "git checkout -h". > > Is it a standard git policy to not document script-only options?  As a > person who writes scripts that use git, we will need to discover these > options somehow... > > Just curious.  (And now wondering how many other wonderful options are > in there but undocumented...) * PARSE_OPT_HIDDEN: this option is skipped in the default usage, and * shown only in the full usage. Which translates to --help-all: --help-all Some git commands take options that are only used for plumbing or that are deprecated, and such options are hidden from the default usage. This option gives the full list of options. So git checkout --help-all should show it. j.