packages feed

docopt 0.7.0.2 → 0.7.0.3

raw patch · 3 files changed

+18/−5 lines, 3 filesdep ~template-haskelldep ~th-liftPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: template-haskell, th-lift

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,8 @@+### 0.7.0.3++- Fix `isPresent` treatment of repeatable arguments/options [#15]+- Fix build failure for stackage inclusion+ ### 0.7.0.2  - Minor docs/README tweaks [#13]
System/Console/Docopt/Public.hs view
@@ -84,9 +84,11 @@   case opt `M.lookup` args of     Nothing  -> False     Just val -> case val of-      NoValue    -> False-      NotPresent -> False-      _          -> True+      NoValue       -> False+      NotPresent    -> False+      Counted 0     -> False+      MultiValue [] -> False+      _             -> True  notPresent :: Arguments -> Option -> Bool notPresent = (not .) . isPresent
docopt.cabal view
@@ -1,5 +1,5 @@ name:                docopt-version:             0.7.0.2+version:             0.7.0.3 synopsis:            A command-line interface parser that will make you smile description:         Docopt parses command-line interface usage text that adheres to a familiar syntax, and from it builds a command-line argument parser that will ensure your program is invoked correctly with the available options specified in the usage text. This allows the developer to write a usage text and get an argument parser for free. @@ -20,6 +20,10 @@ extra-source-files:  README.md                      CHANGELOG.md +source-repository head+  type:       git+  location:   https://github.com/docopt/docopt.hs.git+ flag template-haskell   default:      True   manual:       True@@ -61,7 +65,9 @@                       split,                       ansi-terminal,                       aeson,-                      bytestring == 0.10.*+                      bytestring == 0.10.*,+                      template-haskell,+                      th-lift    other-modules:      System.Console.Docopt.Types,                       System.Console.Docopt.ParseUtils,