summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-01-24 23:15:58 +0100
committerMichał Górny <mgorny@gentoo.org>2016-01-24 23:58:38 +0100
commit4412ca2c79a50481eff42550e9d63cba74c9ffc4 (patch)
treec9fc5379b3c3097e4235ec64664ef2d893dd58ad /dev-haskell/options/metadata.xml
parentpackage.use.mask studio for net-analyzer/icinga2 (diff)
downloadgentoo-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/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 @@
&amp;#x20; , optQuiet :: Bool
&amp;#x20; &amp;#x7d;
- instance &#39;Options&#39; MainOptions where
+ instance 'Options' MainOptions where
&amp;#x20; defineOptions = pure MainOptions
- &amp;#x20; \&lt;*\&gt; simpleOption \&quot;message\&quot; \&quot;Hello world!\&quot;
- &amp;#x20; \&quot;A message to show the user.\&quot;
- &amp;#x20; \&lt;*\&gt; simpleOption \&quot;quiet\&quot; False
- &amp;#x20; \&quot;Whether to be quiet.\&quot;
+ &amp;#x20; \&lt;*\&gt; simpleOption \"message\" \"Hello world!\"
+ &amp;#x20; \"A message to show the user.\"
+ &amp;#x20; \&lt;*\&gt; simpleOption \"quiet\" False
+ &amp;#x20; \"Whether to be quiet.\"
main :: IO ()
main = runCommand $ \\opts args -&gt; do
@@ -34,7 +34,7 @@
&gt;$ ./hello
&gt;Hello world!
- &gt;$ ./hello --message=&#39;ciao mondo&#39;
+ &gt;$ ./hello --message='ciao mondo'
&gt;ciao mondo
&gt;$ ./hello --quiet
&gt;$
@@ -52,7 +52,7 @@
&gt;Application Options:
&gt; --message :: text
&gt; A message to show the user.
- &gt; default: &quot;Hello world!&quot;
+ &gt; default: "Hello world!"
&gt; --quiet :: bool
&gt; Whether to be quiet.
&gt; default: false