summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Werkmeister <mail@lucaswerkmeister.de>2016-10-30 02:42:22 +0200
committerLucas Werkmeister <mail@lucaswerkmeister.de>2016-10-30 02:42:22 +0200
commitc7a7f78bb03d12ff0b1201739c712062ef437ea8 (patch)
treed2f2a0bf6c3c87061aa3b3ef64a61c522ec855a9
parente50e60b4744e48ee83e09c6ad62a6ee52836f4c8 (diff)
man: improve systemd-escape --path description
The option does more than the documentation gave it credit for.
-rw-r--r--man/systemd-escape.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/man/systemd-escape.xml b/man/systemd-escape.xml
index dbb3869a24..acf8e0a02e 100644
--- a/man/systemd-escape.xml
+++ b/man/systemd-escape.xml
@@ -108,9 +108,10 @@
<term><option>-p</option></term>
<listitem><para>When escaping or unescaping a string, assume
- it refers to a file system path. This enables special
- processing of the initial <literal>/</literal> of the
- path.</para></listitem>
+ it refers to a file system path. This eliminates leading,
+ trailing or duplicate <literal>/</literal> characters
+ and rejects <literal>.</literal> and <literal>..</literal>
+ path components.</para></listitem>
</varlistentry>
<varlistentry>