]> git.proxmox.com Git - mirror_lxc.git/blobdiff - doc/lxc-destroy.sgml.in
Merge pull request #2806 from brauner/2019-01-27/bugfixes
[mirror_lxc.git] / doc / lxc-destroy.sgml.in
index a6431e005a2c3cd3d9bc674afc6d3d13e92ca32d..f1969de745d5180644d13ab47e4e395c344515e8 100644 (file)
@@ -5,7 +5,7 @@ lxc: linux Container library
 (C) Copyright IBM Corp. 2007, 2008
 
 Authors:
-Daniel Lezcano <dlezcano at fr.ibm.com>
+Daniel Lezcano <daniel.lezcano at free.fr>
 
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
@@ -19,11 +19,11 @@ Lesser General Public License for more details.
 
 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
 -->
 
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC @docdtd@ [
 
 <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
 <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
@@ -51,6 +51,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
     <variablelist>
       <varlistentry>
        <term>
-         <option>-f</option>
+         <option>-f, --force</option>
        </term>
        <listitem>
          <para>
@@ -81,19 +82,20 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
          </para>
        </listitem>
       </varlistentry>
+      <varlistentry>
+        <term><option>-s, --snapshots</option></term>
+        <listitem>
+          <para>
+            destroy the specified container including all its snapshots.
+          </para>
+        </listitem>
+      </varlistentry>
     </variablelist>
 
-    <varlistentry>
-      <term><option>-P, --lxcpath=<replaceable>PATH</replaceable></option></term>
-      <listitem>
-       <para>
-         Use an alternate container path.  The default is @LXCPATH@.
-       </para>
-      </listitem>
-    </varlistentry>
-
   </refsect1>
 
+  &commonoptions;
+
   <refsect1>
     <title>Diagnostic</title>
 
@@ -105,7 +107,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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>