[lxc-devel] [PATCH for stable-1.0/stable-1.1] doc: Add the description of common options in lxc-destroy(1)

KATOH Yasufumi karma at jazz.email.ne.jp
Fri Aug 28 07:51:06 UTC 2015


* Remove '-P' option, and common options (including '-P' option)
* Add long option for '-f'
* Improve Japanese translation

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
---
 doc/ja/lxc-destroy.sgml.in | 25 +++++++------------------
 doc/lxc-destroy.sgml.in    | 12 +++---------
 2 files changed, 10 insertions(+), 27 deletions(-)

diff --git a/doc/ja/lxc-destroy.sgml.in b/doc/ja/lxc-destroy.sgml.in
index 5d5c5fa..4a79397 100644
--- a/doc/ja/lxc-destroy.sgml.in
+++ b/doc/ja/lxc-destroy.sgml.in
@@ -68,7 +68,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 +80,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
     <variablelist>
       <varlistentry>
 	<term>
-	  <option>-f</option>
+	  <option>-f, --force</option>
 	</term>
 	<listitem>
 	  <para>
@@ -90,27 +90,16 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
 	    <command>lxc-destroy</command> will be aborted.
             -->
             コンテナが実行中の場合、まずコンテナを停止させます。
-            このオプションが指定されていない場合でコンテナが実行中の場合、<command>lxc-destroy</command> コマンドは実行を中断します。
+            このオプションが指定されていない場合、コンテナが実行中のときは <command>lxc-destroy</command> コマンドは実行を中断します。
 	  </para>
 	</listitem>
       </varlistentry>
-
-      <varlistentry>
-        <term><option>-P, --lxcpath=<replaceable>PATH</replaceable></option></term>
-        <listitem>
-	  <para>
-            <!--
-	    Use an alternate container path.  The default is @LXCPATH at .
-            -->
-            コンテナパスを指定します。デフォルトは @LXCPATH@ です。
-	  </para>
-        </listitem>
-      </varlistentry>
-
     </variablelist>
 
   </refsect1>
 
+  &commonoptions;
+
   <refsect1>
     <title><!-- Diagnostic -->診断</title>
 
@@ -126,8 +115,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>
diff --git a/doc/lxc-destroy.sgml.in b/doc/lxc-destroy.sgml.in
index 6e3204f..435df3e 100644
--- a/doc/lxc-destroy.sgml.in
+++ b/doc/lxc-destroy.sgml.in
@@ -71,7 +71,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>
@@ -81,18 +81,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 	  </para>
 	</listitem>
       </varlistentry>
-      <varlistentry>
-        <term><option>-P, --lxcpath=<replaceable>PATH</replaceable></option></term>
-        <listitem>
-          <para>
-	    Use an alternate container path.  The default is @LXCPATH at .
-          </para>
-        </listitem>
-      </varlistentry>
     </variablelist>
 
   </refsect1>
 
+  &commonoptions;
+
   <refsect1>
     <title>Diagnostic</title>
 
-- 
2.2.1



More information about the lxc-devel mailing list