On Wed, Oct 21, 2009 at 3:51 PM, Avery Pennarun <apenwarr@xxxxxxxxx> wrote: > On Wed, Oct 21, 2009 at 6:35 PM, Junio C Hamano <gitster@xxxxxxxxx> 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. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html