diff options
author | Michael Marineau <michael.marineau@coreos.com> | 2014-09-15 14:07:39 -0700 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-09-18 15:38:00 +0200 |
commit | fb7661a6020b5680d5647d3d85b0501a4f3a5042 (patch) | |
tree | 20e2c057a340d106554bb1cd4a40a7e3b3ad263a | |
parent | 572016d1c2c5a679ea3ac95ff15ce9f3508020f3 (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.
-rw-r--r-- | man/systemd.unit.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 6ea552e8b4..67d46eda98 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -226,7 +226,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> |