]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: make systemd-escape examples more consistent 4520/head
authorLucas Werkmeister <mail@lucaswerkmeister.de>
Sun, 30 Oct 2016 00:44:07 +0000 (02:44 +0200)
committerLucas Werkmeister <mail@lucaswerkmeister.de>
Sun, 30 Oct 2016 00:44:07 +0000 (02:44 +0200)
The first example wasn't phrased with "To ..." as the other three are,
and the last example was lacking the colon.

man/systemd-escape.xml

index 7afac42613e37f5368b0ac48d899e9382b44a287..5e95e225364c1f9dcfaba845affd4df4c670e9ed 100644 (file)
   <refsect1>
     <title>Examples</title>
 
-    <para>Escape a single string:</para>
+    <para>To escape a single string:</para>
     <programlisting>$ systemd-escape 'Hallöchen, Meister'
 Hall\xc3\xb6chen\x2c\x20Meister</programlisting>
 
@@ -156,7 +156,7 @@ Hallöchen, Meister</programlisting>
     <programlisting>$ systemd-escape -p --suffix=mount "/tmp//waldi/foobar/"
 tmp-waldi-foobar.mount</programlisting>
 
-    <para>To generate instance names of three strings</para>
+    <para>To generate instance names of three strings:</para>
     <programlisting>$ systemd-escape --template=systemd-nspawn@.service 'My Container 1' 'containerb' 'container/III'
 systemd-nspawn@My\x20Container\x201.service systemd-nspawn@containerb.service systemd-nspawn@container-III.service</programlisting>
   </refsect1>