]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-execute: document the '--' option
authorCedric Le Goater <legoater@free.fr>
Thu, 5 May 2011 10:07:51 +0000 (12:07 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 5 May 2011 10:07:51 +0000 (12:07 +0200)
Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
doc/lxc-execute.sgml.in

index 9771318070a7a1a0ba1807f9199e1b4e6f240dd0..77d132a33c7c6a3450a559100c02b50da9319601 100644 (file)
@@ -51,6 +51,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
       <command>lxc-execute <replaceable>-n name</replaceable>
        <optional>-f config_file</optional> <optional>-s KEY=VAL
        </optional>
+       <optional>--</optional>
        <replaceable>command</replaceable></command>
     </cmdsynopsis>
   </refsynopsisdiv>
@@ -125,6 +126,21 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
          </para>
        </listitem>
       </varlistentry>
+      <varlistentry>
+       <term><option>--</option></term>
+       <listitem>
+         <para>
+           Signal the end of options and disables further option
+           processing. Any arguments after the -- are treated as
+           arguments.
+         </para>
+         <para>
+           This option is useful when you want to execute, with the
+           command <command>lxc-execute</command>, a command line
+           with its own options.
+         </para>
+       </listitem>
+      </varlistentry>
 
     </variablelist>