summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMichael Marineau <michael.marineau@coreos.com>2014-09-15 14:07:39 -0700
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-10-26 18:23:45 -0400
commitc6ba31f718ac6bda8150c55777deb29f905eb5eb (patch)
tree7357c35eafebba34a8ec5009f30ea053f2c90f4e /man
parentfb6d069db28a4abb165f8d48319676b07c3c3491 (diff)
man: use the escape for "-" in example instead of space.
This sentence can be misread to mean that "\x20" is the escape code for "-" which is the only character explicitly mentioned. This lead to at least one user loosing hair over why a mount unit for "/foo/bar-baz" didn't work. The example escape is arbitrary so lets prevent hair loss. (cherry picked from commit fb7661a6020b5680d5647d3d85b0501a4f3a5042)
Diffstat (limited to 'man')
-rw-r--r--man/systemd.unit.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 8dc621172..9164717e4 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -227,7 +227,7 @@
result is usable as part of a filename. Basically,
given a path, "/" is replaced by "-", and all
unprintable characters and the "-" are replaced by
- C-style "\x20" escapes. The root directory "/" is
+ C-style "\x2d" escapes. The root directory "/" is
encoded as single dash, while otherwise the initial
and ending "/" is removed from all paths during
transformation. This escaping is reversible.</para>