Skip to content

Commit

Permalink
Merge pull request #399 from pcapriotti/topic/0.16
Browse files Browse the repository at this point in the history
Update changelog for release
  • Loading branch information
HuwCampbell authored Aug 13, 2020
2 parents 9cc0947 + 32ebfe6 commit 2c0e6ef
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
25 changes: 14 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
## Unreleased
## Version 0.16.0.0 (14 Aug 2020)

- Add `Options.Applicative.NonEmpty.some1` function, which
parses options the same as `some1` 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.

For example, a mutually exclusive, but optional set of
flags would have been shown as "([-a] | [-b])", while
now it will be the more clear "[-a | -b]".
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 will
When using subcommands, a "global options" section can
now appear below the options and commands sections.

The builder `noGlobal` will suppress this for a single
option, while the entire section can be turned off using
`overFailure` to set `helpGlobals` to `mempty`.
Global options are *off* by default, to enable them, use
the `helpShowGlobals` 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`
Expand All @@ -35,8 +34,12 @@

- Updated dependency bounds.

- Add support for GHC 8.10.1 (backported).
- Add builder for the all positional parser policy.

- Remove deprecated functions
* nullOption
* execParserMaybe
* customExecParserMaybe

## Version 0.15.1.0 (12 Sep 2019)

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# optparse-applicative

[![Continuous Integration status][status-png]][status]
[![Hackage matrix][hackage-matrix-png]][hackage-matrix]
[![Hackage page (downloads and API reference)][hackage-png]][hackage]
[![Hackage-Deps][hackage-deps-png]][hackage-deps]


optparse-applicative is a haskell library for parsing options on
the command line, and providing a powerful [applicative] interface
for composing them.
Expand Down Expand Up @@ -1011,6 +1013,8 @@ simplified implementation.
[blog]: http://paolocapriotti.com/blog/2012/04/27/applicative-option-parser/
[hackage]: http://hackage.haskell.org/package/optparse-applicative
[hackage-png]: http://img.shields.io/hackage/v/optparse-applicative.svg
[hackage-matrix]: https://matrix.hackage.haskell.org/package/optparse-applicative
[hackage-matrix-png]: https://matrix.hackage.haskell.org/api/v2/packages/optparse-applicative/badge
[hackage-deps]: http://packdeps.haskellers.com/reverse/optparse-applicative
[hackage-deps-png]: https://img.shields.io/hackage-deps/v/optparse-applicative.svg
[monoid]: http://hackage.haskell.org/package/base/docs/Data-Monoid.html
Expand Down
2 changes: 1 addition & 1 deletion optparse-applicative.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: optparse-applicative
version: 0.15.1.0
version: 0.16.0.0
synopsis: Utilities and combinators for parsing command line options
description:
optparse-applicative is a haskell library for parsing options
Expand Down

0 comments on commit 2c0e6ef

Please sign in to comment.