]> git.proxmox.com Git - mirror_lxc.git/commitdiff
lxc-ps : update the man page for passing the options
authorDaniel Lezcano <daniel.lezcano@free.fr>
Thu, 11 Aug 2011 15:54:57 +0000 (17:54 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 11 Aug 2011 15:54:57 +0000 (17:54 +0200)
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
doc/lxc-ps.sgml.in

index 6c5326530a0d4194e62d83e4bc115a16161c9426..bb7b5a6591489ca274f623c8e1a11f4bae1767b5 100644 (file)
@@ -110,8 +110,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
        </term>
        <listitem>
          <para>
-           The option passed to <command>lxc-ps</command> are the
-           same as the <command>ps</command> command.
+           The <command>ps</command> options must be separated
+           from <command>lxc-ps</command> options by
+           the <option>--</option> parameter.
          </para>
        </listitem>
       </varlistentry>
@@ -124,7 +125,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
     <title>Example</title>
     <variablelist>
       <varlistentry>
-       <term>lxc-ps --name foo --forest</term>
+       <term>lxc-ps --name foo -- --forest</term>
        <listitem>
        <para>
          list all the processes belonging to container 'foo' and show