optparse-applicative 0.7.0 → 0.7.0.1
raw patch · 1 files changed
+6/−6 lines, 1 files
Files
optparse-applicative.cabal view
@@ -1,5 +1,5 @@ name: optparse-applicative-version: 0.7.0+version: 0.7.0.1 synopsis: Utilities and combinators for parsing command line options description: Here is a simple example of an applicative option parser:@@ -13,11 +13,11 @@ sample = Sample   \<$\> strOption   ( long \"hello\"-   & metavar \"TARGET\"-   & help \"Target for the greeting\" )+   \<\> metavar \"TARGET\"+   \<\> help \"Target for the greeting\" )   \<*\> switch   ( long \"quiet\"-   & help \"Whether to be quiet\" )+   \<\> help \"Whether to be quiet\" ) @ . The parser is built using applicative style starting from a set of basic@@ -36,8 +36,8 @@   where   opts = info (helper \<*\> sample)   ( fullDesc-   & progDesc \"Print a greeting for TARGET\"-   & header \"hello - a test for optparse-applicative\" )+   \<\> progDesc \"Print a greeting for TARGET\"+   \<\> header \"hello - a test for optparse-applicative\" ) @ . The @greet@ function is the entry point of the program, while @opts@ is a