From 0e2c605cff367b9cc76ce740bbc80e3122f3dea6 Mon Sep 17 00:00:00 2001 From: Huw Campbell Date: Mon, 31 Jan 2022 18:23:36 +1100 Subject: [PATCH 1/2] Prepare version 0.17 --- CHANGELOG.md | 6 +++++- optparse-applicative.cabal | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bb140e4..81c4d2e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## Unreleased +## Version 0.17.0.0 (1 Feb 2022) - Make tabulation width configurable in usage texts. @@ -7,6 +7,10 @@ - Add `helperWith` function, which can be easily used to localize the help flag. +- Improve usage texts when command names are long. + +- Improve Documentation. + ## Version 0.16.1.0 (21 Nov 2020) - Guard `process` dependency behind an on by default flag. diff --git a/optparse-applicative.cabal b/optparse-applicative.cabal index 21375fb9..fb9fa569 100644 --- a/optparse-applicative.cabal +++ b/optparse-applicative.cabal @@ -1,5 +1,5 @@ name: optparse-applicative -version: 0.16.1.0 +version: 0.17.0.0 synopsis: Utilities and combinators for parsing command line options description: optparse-applicative is a haskell library for parsing options From 0dce55f6fd80e2bd4af27372a9eb8d06f33eec70 Mon Sep 17 00:00:00 2001 From: Huw Campbell Date: Mon, 31 Jan 2022 23:32:40 +1100 Subject: [PATCH 2/2] Fixup documentation for show globals option --- src/Options/Applicative/Types.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Options/Applicative/Types.hs b/src/Options/Applicative/Types.hs index ee0636b6..0644676b 100644 --- a/src/Options/Applicative/Types.hs +++ b/src/Options/Applicative/Types.hs @@ -125,7 +125,7 @@ data ParserPrefs = ParserPrefs -- single space (default: False) , prefHelpShowGlobal :: Bool -- ^ when displaying subparsers' usage help, -- show parent options under a "global options" - -- section (default: True) + -- section (default: False) , prefTabulateFill ::Int -- ^ Indentation width for tables } deriving (Eq, Show)