man: improve systemd-escape --path description

The option does more than the documentation gave it credit for.
This commit is contained in:
Lucas Werkmeister 2016-10-30 02:42:22 +02:00
parent e50e60b474
commit c7a7f78bb0
1 changed files with 4 additions and 3 deletions

View File

@ -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>