mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
man: improve systemd-escape --path description
The option does more than the documentation gave it credit for.
This commit is contained in:
parent
e50e60b474
commit
c7a7f78bb0
@ -108,9 +108,10 @@
|
|||||||
<term><option>-p</option></term>
|
<term><option>-p</option></term>
|
||||||
|
|
||||||
<listitem><para>When escaping or unescaping a string, assume
|
<listitem><para>When escaping or unescaping a string, assume
|
||||||
it refers to a file system path. This enables special
|
it refers to a file system path. This eliminates leading,
|
||||||
processing of the initial <literal>/</literal> of the
|
trailing or duplicate <literal>/</literal> characters
|
||||||
path.</para></listitem>
|
and rejects <literal>.</literal> and <literal>..</literal>
|
||||||
|
path components.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
Loading…
Reference in New Issue
Block a user