Re: [PATCH v4] Remove --allow-empty from the git-commit synopsis
- From
Stephen Boyd <bebarino@gmail.com>
- Date
- Apr 7, 2010, 19:45 UTC
- Message-ID
- <j2s780e0a6b1004071245jaaaf8d20r71720749c29227b8@mail.gmail.com>
- 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 <avarab@gmail.com> wrote:
Show 7 quoted lines
> > 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.