summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/options/metadata.xml')
-rw-r--r--dev-haskell/options/metadata.xml14
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 @@
  , optQuiet :: Bool
  }
- instance 'Options' MainOptions where
+ instance 'Options' MainOptions where
  defineOptions = pure MainOptions
-   \<*\> simpleOption \"message\" \"Hello world!\"
-   \"A message to show the user.\"
-   \<*\> simpleOption \"quiet\" False
-   \"Whether to be quiet.\"
+   \<*\> simpleOption \"message\" \"Hello world!\"
+   \"A message to show the user.\"
+   \<*\> simpleOption \"quiet\" False
+   \"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