doc: Add the common and '-s' option in lxc-destroy(1)

* 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>
This commit is contained in:
KATOH Yasufumi 2015-08-28 16:29:03 +09:00 committed by Stéphane Graber
parent b332333b43
commit 3635c5eee8
2 changed files with 18 additions and 12 deletions

View 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.
-->
コンテナが実行中の場合、まずコンテナを停止させます。
このオプションが指定されていない場合でコンテナが実行中の場合、<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@.
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>

View 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>