-<!--
+<!--
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
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 "-//Davenport//DTD DocBook V3.0//EN" [
+<!DOCTYPE refentry PUBLIC @docdtd@ [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
<refsynopsisdiv>
<cmdsynopsis>
- <command>lxc-destroy <replaceable>-n
- name</replaceable>
- <optional>-f</optional>
- </command>
+ <command>lxc-destroy</command>
+ <arg choice="req">-n <replaceable>name</replaceable></arg>
+ <arg choice="opt">-f</arg>
+ <arg choice="opt">-s</arg>
</cmdsynopsis>
</refsynopsisdiv>
<variablelist>
<varlistentry>
<term>
- <option>-f</option>
+ <option>-f, --force</option>
</term>
<listitem>
<para>
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>-s, --snapshots</option></term>
+ <listitem>
+ <para>
+ destroy the specified container including all its snapshots.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>
+ &commonoptions;
+
<refsect1>
<title>Diagnostic</title>
<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>
- </varlistentry>
+ </varlistentry>
</variablelist>