optparse-applicative v0.14.0 Release Notes
Release Date: 2017-06-09 // almost 7 years ago-
โฌ๏ธ Upgrade
str
and related builders to be polymorphic over
โIsString
. This allowsText
andBytestring
to be used
naturally withstrOption
andstrArgument
and friends.Note: This change may require additional type signatures
in cases where the reader was necessary for type
inference.Export public API explicitly from
Options.Applicative
instead of re-exporting other modules.Note: Minor changes to exports were made in conjunction
๐ to this change.ParserHelp
no longer requires an
an extra import, and some internally used functions
fromOptions.Applicative.Common
are no longer
exported from the main module.โ Add Zsh and Fish completions with rich descriptions for
options and commands.๐ Use "--zsh-completion-script" and "fish-completion-script"
to generate scripts for these shells.๐ Fix bash completions with quoted sections, tilde expansions
and completions after "--".โ Add suggestions to error message when a user mistypes a
command or option.โ Add
style
builder, for styling option descriptions.๐ Improve error message for options when a required argument
is not supplied.๐ Fix #242 regarding flags with long options, where a flag given
a long option could be interpreted incorrectly.๐ Fix
noIntersperse
to be more like its namesakes in other
libraries. When on, options will be accepted until an argument
is passed, after which all options will be treated as positional
arguments.โ Add
forwardOptions
builder, which will allow unknown options
๐ and flags to be passed to an argument builder.
๐ This is useful to mixed parsing environments, or wrappers to
other commands.โ Add
Semigroup
instances forCompleter
andChunk
.Forwards compatibility with
MonadFail
proposal.Doc