diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-01-24 23:15:58 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-01-24 23:58:38 +0100 |
commit | 4412ca2c79a50481eff42550e9d63cba74c9ffc4 (patch) | |
tree | c9fc5379b3c3097e4235ec64664ef2d893dd58ad /dev-haskell/options | |
parent | package.use.mask studio for net-analyzer/icinga2 (diff) | |
download | gentoo-4412ca2c79a50481eff42550e9d63cba74c9ffc4.tar.gz gentoo-4412ca2c79a50481eff42550e9d63cba74c9ffc4.tar.bz2 gentoo-4412ca2c79a50481eff42550e9d63cba74c9ffc4.zip |
Unify quoting in metadata.xml files for machine processing
Force unified quoting in all metadata.xml files since lxml does not
preserve original use of single and double quotes. Ensuring unified
quoting before the process allows distinguishing the GLEP 67-related
metadata.xml changes from unrelated quoting changes.
Diffstat (limited to 'dev-haskell/options')
-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 |