Open
Description
Currently ARG_OPTIONAL_BOOLEAN
is displayed like so:
$ ./foo.sh --help
foo!
Usage: ./foo.sh [--(no-)no-deps]
-n,--no-deps,--no-no-deps: some description
With many of those the negating (no-)
text adds a lot of visual noise and can be borderline silly as in the above case. I would imagine that most people have no use for an option flag that equals the application's default value.
Proposal:
Remove the (no-)
and ,--no-<some-option>
portions in the help output for ARG_OPTIONAL_BOOLEAN
, or at least make it's display configurable.