]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
doc: Add the common and '-s' option in lxc-destroy(1)
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Fri, 28 Aug 2015 07:29:03 +0000 (16:29 +0900)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 21 Sep 2015 15:28:49 +0000 (11:28 -0400)
* Add the description of '-s' option
* Remove '-P' option, and add common options
* Improve Japanese translation

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
doc/ja/lxc-destroy.sgml.in
doc/lxc-destroy.sgml.in

index 5d5c5fa4ac36ca2cc0dfa85a45df3d8e29f7b5ea..24fba0a68f96da5ecfe042f6eacc2798d4c23154 100644 (file)
@@ -48,7 +48,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
       <!--
       destroy a container.
       -->
-      コンテナの破壊
+      コンテナの削除
     </refpurpose>
   </refnamediv>
 
@@ -57,6 +57,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
       <command>lxc-destroy</command>
       <arg choice="req">-n <replaceable>name</replaceable></arg>
       <arg choice="opt">-f</arg>
+      <arg choice="opt">-s</arg>
     </cmdsynopsis>
   </refsynopsisdiv>
 
@@ -68,7 +69,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
       <command>lxc-destroy</command> destroys the system object
       previously created by the <command>lxc-create</command> command.
       -->
-      <command>lxc-destroy</command> は、<command>lxc-create</command> で以前に作成したシステムオブジェクトを破壊します。
+      <command>lxc-destroy</command> は、<command>lxc-create</command> で以前に作成したシステムオブジェクトを削除します。
     </para>
 
   </refsect1>
@@ -80,7 +81,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
     <variablelist>
       <varlistentry>
        <term>
-         <option>-f</option>
+         <option>-f, --force</option>
        </term>
        <listitem>
          <para>
@@ -90,19 +91,19 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
            <command>lxc-destroy</command> will be aborted.
             -->
             コンテナが実行中の場合、まずコンテナを停止させます。
-            ã\81\93ã\81®ã\82ªã\83\97ã\82·ã\83§ã\83³ã\81\8cæ\8c\87å®\9aã\81\95ã\82\8cã\81¦ã\81\84ã\81ªã\81\84å ´å\90\88ã\81§ã\82³ã\83³ã\83\86ã\83\8aã\81\8cå®\9fè¡\8c中ã\81®å ´å\90\88ã\80\81<command>lxc-destroy</command> コマンドは実行を中断します。
+            ã\81\93ã\81®ã\82ªã\83\97ã\82·ã\83§ã\83³ã\81\8cæ\8c\87å®\9aã\81\95ã\82\8cã\81¦ã\81\84ã\81ªã\81\84å ´å\90\88ã\80\81ã\82³ã\83³ã\83\86ã\83\8aã\81\8cå®\9fè¡\8c中ã\81®ã\81¨ã\81\8dã\81¯ <command>lxc-destroy</command> コマンドは実行を中断します。
          </para>
        </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.
             -->
-            コンテナパスを指定します。デフォルトは @LXCPATH@ です。
+            指定したコンテナとそのスナップショットをすべて削除します。
          </para>
         </listitem>
       </varlistentry>
@@ -111,6 +112,8 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
 
   </refsect1>
 
+  &commonoptions;
+
   <refsect1>
     <title><!-- Diagnostic -->診断</title>
 
@@ -126,8 +129,8 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
            destroyed.You can use the <command>lxc-ls</command>
            command to list the available containers on the system.
             -->
-            破壊するために指定したコンテナが見つかりません。
-            おそらくそのコンテナが存在しないのか、既に破壊された後なのでしょう。
+            削除する対象のコンテナが見つかりません。
+            おそらくそのコンテナが存在しないのか、既に削除された後なのでしょう。
             <command>lxc-ls</command> コマンドを使って、システム上に存在するコンテナのリストを得ることができます。
           </para>
         </listitem>
index 6e3204f30fd2df67df2491a26c2447cd0bc2598e..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>