optparse-simple 0.1.1.2 → 0.1.1.3
raw patch · 3 files changed
+17/−9 lines, 3 files
Files
- ChangeLog.md +4/−0
- optparse-simple.cabal +9/−9
- src/Options/Applicative/Simple.hs +4/−0
ChangeLog.md view
@@ -1,5 +1,9 @@ # ChangeLog for optparse-simple +## 0.1.1.3++* optparse-applicative 0.16.0.0 support [#14](https://github.com/fpco/optparse-simple/issues/14)+ ## 0.1.1.2 * Run TH slice at the right time to get proper Git info [#13](https://github.com/fpco/optparse-simple/issues/13)
optparse-simple.cabal view
@@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.31.1.+-- This file has been generated from package.yaml by hpack version 0.33.0. -- -- see: https://github.com/sol/hpack ----- hash: fa55f93c89cb6aea5dd08d557e397a862c381f89f99d22f74b8699ceb6361534+-- hash: 71da8e6f0f044acf18f321986a6ae40a83b3e3be8e112e4112b0a56b4f41e62a name: optparse-simple-version: 0.1.1.2+version: 0.1.1.3 synopsis: Simple interface to optparse-applicative description: Please see the README at <https://www.stackage.org/package/optparse-simple> category: Options@@ -33,6 +33,10 @@ default: False library+ exposed-modules:+ Options.Applicative.Simple+ other-modules:+ Paths_optparse_simple hs-source-dirs: src/ ghc-options: -Wall@@ -45,10 +49,6 @@ if impl (ghc < 8.0) build-depends: semigroups ==0.18.*- exposed-modules:- Options.Applicative.Simple- other-modules:- Paths_optparse_simple default-language: Haskell2010 executable simple@@ -67,6 +67,8 @@ test-suite test type: exitcode-stdio-1.0 main-is: Main.hs+ other-modules:+ Paths_optparse_simple hs-source-dirs: test ghc-options: -Wall@@ -75,6 +77,4 @@ , bytestring , directory , optparse-simple- other-modules:- Paths_optparse_simple default-language: Haskell2010
src/Options/Applicative/Simple.hs view
@@ -170,7 +170,11 @@ simpleParser commonParser commandParser = helpOption <*> config where helpOption =+#if MIN_VERSION_optparse_applicative(0,16,0)+ abortOption (ShowHelpText Nothing) $+#else abortOption ShowHelpText $+#endif long "help" <> help "Show this help text" config =