[lxc-devel] [PATCH] doc: Add the common and '-s' option in lxc-destroy(1)
KATOH Yasufumi
karma at jazz.email.ne.jp
Fri Aug 28 07:29:03 UTC 2015
* Add the description of '-s' option
* Remove '-P' option, and add common options
* Improve Japanese translation
Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
---
doc/ja/lxc-destroy.sgml.in | 21 ++++++++++++---------
doc/lxc-destroy.sgml.in | 9 ++++++---
2 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/doc/ja/lxc-destroy.sgml.in b/doc/ja/lxc-destroy.sgml.in
index 5d5c5fa..24fba0a 100644
--- a/doc/ja/lxc-destroy.sgml.in
+++ b/doc/ja/lxc-destroy.sgml.in
@@ -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.
-->
コンテナが実行中の場合、まずコンテナを停止させます。
- このオプションが指定されていない場合でコンテナが実行中の場合、<command>lxc-destroy</command> コマンドは実行を中断します。
+ このオプションが指定されていない場合、コンテナが実行中のときは <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 at .
+ 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>
diff --git a/doc/lxc-destroy.sgml.in b/doc/lxc-destroy.sgml.in
index 6e3204f..f1969de 100644
--- a/doc/lxc-destroy.sgml.in
+++ b/doc/lxc-destroy.sgml.in
@@ -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 at .
+ 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>
--
2.2.1
More information about the lxc-devel
mailing list