mirror of
https://github.com/systemd/systemd
synced 2024-10-15 20:45:09 +00: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>
|
||||
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue