From: Stephen Boyd Date: Wed, 07 Apr 2010 19:45:48 GMT Subject: Re: [PATCH v4] Remove --allow-empty from the git-commit synopsis Message-ID: In-Reply-To: <1270668498-30495-1-git-send-email-avarab@gmail.com> On Wed, Apr 7, 2010 at 12:28 PM, Ævar Arnfjörð Bjarmason wrote: > > As for Jeff's suggestion of omitting options from the `--help' output: > I couldn't find a way to do that using parse-options.[ch]. It's also > customary for `--help' to include the full usage examples regardless > of how long they get (just look at wget, ls etc.). The SYNOPSIS > sections in manual pages by comparison usually aim for brevity. > You can hide options from the -h output (not --help-all) by using the PARSE_OPT_HIDDEN flag.