Re: [PATCH v4] Remove --allow-empty from the git-commit synopsis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 7, 2010 at 12:28 PM, Ævar Arnfjörð Bjarmason
<avarab@xxxxxxxxx> 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.
--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]