optparse-helper 0.1.0.0 → 0.2.0.0
raw patch · 2 files changed
+3/−3 lines, 2 files
Files
optparse-helper.cabal view
@@ -1,5 +1,5 @@ name: optparse-helper-version: 0.1.0.0+version: 0.2.0.0 synopsis: Helper functions for optparse-applicative. description: The optparse-applicative package, as well as optparse-simple, has some
src/Options/Applicative/Helper.hs view
@@ -116,11 +116,11 @@ -- preferences. -- -- > mappend disambiguate showHelpOnError-helperPrefsMod :: ParserPrefs+helperPrefsMod :: PrefsMod helperPrefsMod = mappend disambiguate showHelpOnError -- |Wrapper around 'customExecParser', 'helperPrefs', and 'infoHelper' -- -- > helperExecParser a b = customExecParser helperPrefs (infoHelper a b)-helperExecParser :: Parser a -> InfoMod a -> IO ()+helperExecParser :: Parser a -> InfoMod a -> IO a helperExecParser a b = customExecParser helperPrefs (infoHelper a b)