[lxc-devel] [PATCH] lxc-execute: document the '--' option

Cedric Le Goater legoater at free.fr
Wed Apr 6 14:11:18 UTC 2011


Signed-off-by: Cedric Le Goater <clg at fr.ibm.com>
---
 doc/lxc-execute.sgml.in |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/doc/lxc-execute.sgml.in b/doc/lxc-execute.sgml.in
index 9771318..77d132a 100644
--- a/doc/lxc-execute.sgml.in
+++ b/doc/lxc-execute.sgml.in
@@ -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>
 




More information about the lxc-devel mailing list