packages feed

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     &#x20; \<$\> strOption     &#x20;     ( long \"hello\"-    &#x20;     & metavar \"TARGET\"-    &#x20;     & help \"Target for the greeting\" )+    &#x20;    \<\> metavar \"TARGET\"+    &#x20;    \<\> help \"Target for the greeting\" )     &#x20; \<*\> switch     &#x20;     ( long \"quiet\"-    &#x20;     & help \"Whether to be quiet\" )+    &#x20;    \<\> help \"Whether to be quiet\" )     @     .     The parser is built using applicative style starting from a set of basic@@ -36,8 +36,8 @@     &#x20; where     &#x20;   opts = info (helper \<*\> sample)     &#x20;     ( fullDesc-    &#x20;     & progDesc \"Print a greeting for TARGET\"-    &#x20;     & header \"hello - a test for optparse-applicative\" )+    &#x20;    \<\> progDesc \"Print a greeting for TARGET\"+    &#x20;    \<\> header \"hello - a test for optparse-applicative\" )     @     .     The @greet@ function is the entry point of the program, while @opts@ is a