optparse-applicative v0.16.1 Release Notes
Release Date: 2020-11-20 // over 1 year ago-
No data yet ๐
You can check the official repo
Previous changes from v0.16.0
-
โ Add
Options.Applicative.NonEmpty.some1
function, which
๐ parses options the same assome1
from base, but doesn't
cause duplicates in the usage texts.Further improve help text generation in the presence
of optional values when nesting is involved, and many and
some when displayed with a suffix.โ Add "global" options to the usage texts for subcommands.
When using subcommands, a "global options" section can
now appear below the options and commands sections.Global options are off by default, to enable them, use
thehelpShowGlobals
modifier.๐ The
noGlobal
builder will suppress a single option being
displayed in the global options list.๐ Fixes issues:
- # 175 - List detailed subparser documentation with
--help
- # 294 - Displaying global options when listing options for a command.
- # 359 - Subcommand help text lacks required parent command arguments
๐ Allow the
--help
option to take the name of a command.
Usage without any arguments is the same, but now, when an
argument is given, if it is the name of a currently
reachable command, the help text for that command will
be show.๐ Fixes issues:
- # 379 - cmd --help subcmd is not the same as cmd subcmd --help
โก๏ธ Updated dependency bounds.
โ Add builder for the all positional parser policy.
โ Remove deprecated functions
- nullOption
- execParserMaybe
- customExecParserMaybe
- # 175 - List detailed subparser documentation with