hasql-optparse-applicative 0.1.1 → 0.2
raw patch · 2 files changed
+3/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
hasql-optparse-applicative.cabal view
@@ -1,7 +1,7 @@ name: hasql-optparse-applicative version:- 0.1.1+ 0.2 synopsis: "optparse-applicative" parsers for "hasql" category:
library/Hasql/Options/Applicative.hs view
@@ -25,8 +25,8 @@ value 10 <> showDefault <> help "Amount of seconds for which the unused connections are kept open"- prefixed s = - maybe s (<> ("-" <> s)) prefix+ prefixed =+ maybe id (\prefix string -> prefix <> "-" <> string) prefix -- | -- Given a prefix for long names produces a parser of @Hasql.Connection.'Hasql.Connection.Settings'@.@@ -61,8 +61,6 @@ database = fmap fromString $ strOption $ long (prefixed "database") <>- value "" <>- showDefault <> help "Database name" prefixed s = maybe s (<> ("-" <> s)) prefix