diff options
Diffstat (limited to 'dev-haskell/options/metadata.xml')
-rw-r--r-- | dev-haskell/options/metadata.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dev-haskell/options/metadata.xml b/dev-haskell/options/metadata.xml index 51a1b75d2a74..94fb3306f128 100644 --- a/dev-haskell/options/metadata.xml +++ b/dev-haskell/options/metadata.xml @@ -18,12 +18,12 @@ &#x20; , optQuiet :: Bool &#x20; &#x7d; - instance 'Options' MainOptions where + instance 'Options' MainOptions where &#x20; defineOptions = pure MainOptions - &#x20; \<*\> simpleOption \"message\" \"Hello world!\" - &#x20; \"A message to show the user.\" - &#x20; \<*\> simpleOption \"quiet\" False - &#x20; \"Whether to be quiet.\" + &#x20; \<*\> simpleOption \"message\" \"Hello world!\" + &#x20; \"A message to show the user.\" + &#x20; \<*\> simpleOption \"quiet\" False + &#x20; \"Whether to be quiet.\" main :: IO () main = runCommand $ \\opts args -> do @@ -34,7 +34,7 @@ >$ ./hello >Hello world! - >$ ./hello --message='ciao mondo' + >$ ./hello --message='ciao mondo' >ciao mondo >$ ./hello --quiet >$ @@ -52,7 +52,7 @@ >Application Options: > --message :: text > A message to show the user. - > default: "Hello world!" + > default: "Hello world!" > --quiet :: bool > Whether to be quiet. > default: false |