Re: [PATCH] git checkout --no-guess
On Wed, Oct 21, 2009 at 3:51 PM, Avery Pennarun <apenwarr@gmail.com> wrote:
Show 10 quoted lines
> On Wed, Oct 21, 2009 at 6:35 PM, Junio C Hamano <gitster@pobox.com> 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.