]> git.proxmox.com Git - mirror_lxc.git/blobdiff - doc/lxc-destroy.sgml.in
utils: add errno logs for exception case
[mirror_lxc.git] / doc / lxc-destroy.sgml.in
index 7f346c64a49e05a3e4d76ad5527f8fea247056d8..f1969de745d5180644d13ab47e4e395c344515e8 100644 (file)
@@ -51,6 +51,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
       <command>lxc-destroy</command>
       <arg choice="req">-n <replaceable>name</replaceable></arg>
       <arg choice="opt">-f</arg>
+      <arg choice="opt">-s</arg>
     </cmdsynopsis>
   </refsynopsisdiv>
 
@@ -71,7 +72,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
     <variablelist>
       <varlistentry>
        <term>
-         <option>-f</option>
+         <option>-f, --force</option>
        </term>
        <listitem>
          <para>
@@ -82,10 +83,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
        </listitem>
       </varlistentry>
       <varlistentry>
-        <term><option>-P, --lxcpath=<replaceable>PATH</replaceable></option></term>
+        <term><option>-s, --snapshots</option></term>
         <listitem>
           <para>
-           Use an alternate container path.  The default is @LXCPATH@.
+            destroy the specified container including all its snapshots.
           </para>
         </listitem>
       </varlistentry>
@@ -93,6 +94,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
   </refsect1>
 
+  &commonoptions;
+
   <refsect1>
     <title>Diagnostic</title>
 
@@ -104,7 +107,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
           <para>
            The specified container for destruction was not found. It
            is probable it does not exists and was already
-           destroyed.You can use the <command>lxc-ls -l</command>
+           destroyed.You can use the <command>lxc-ls</command>
            command to list the available containers on the system.
           </para>
         </listitem>