Commit e339d6b9 by KATOH Yasufumi Committed by Stéphane Graber

doc: Fix the description of -n option in lxc-info(1)

Commit 5444216b revised -n option from allowing to specify multiple containers using regex to specifying only one container. But lxc-info(1) remains original. so - mark -n required - remove the description of -n that is included in common options Signed-off-by: 's avatarKATOH Yasufumi <karma@jazz.email.ne.jp> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent fe8e3acf
...@@ -53,7 +53,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -53,7 +53,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-info</command> <command>lxc-info</command>
<arg choice="opt">-n <replaceable>name</replaceable></arg> <arg choice="req">-n <replaceable>name</replaceable></arg>
<arg choice="opt">-c <replaceable>KEY</replaceable></arg> <arg choice="opt">-c <replaceable>KEY</replaceable></arg>
<arg choice="opt">-s</arg> <arg choice="opt">-s</arg>
<arg choice="opt">-p</arg> <arg choice="opt">-p</arg>
...@@ -67,8 +67,8 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -67,8 +67,8 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<title><!-- Description -->説明</title> <title><!-- Description -->説明</title>
<para> <para>
<!-- <!--
<command>lxc-info</command> queries and shows information about <command>lxc-info</command> queries and shows information about a
containers. container.
--> -->
<command>lxc-info</command> は,コンテナに関する情報を問い合わせ,表示します. <command>lxc-info</command> は,コンテナに関する情報を問い合わせ,表示します.
</para> </para>
...@@ -80,33 +80,6 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -80,33 +80,6 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<varlistentry> <varlistentry>
<term> <term>
<option><optional>-n <replaceable>name</replaceable></optional></option>
</term>
<listitem>
<para>
<!--
The container name. It is interpreted as a regular expression,
so it is possible to get information on all containers, several
of them or just one. See
<citerefentry>
<refentrytitle><command>regex</command></refentrytitle>
<manvolnum>7</manvolnum>
</citerefentry> for regular expression syntax. If not specified,
<replaceable>name</replaceable> will default to '.*' which
will give information on all containers in
<command>lxcpath</command>.
-->
コンテナ名.正規表現として解釈され,全てのコンテナ,指定したいくつかのコンテナ,特定のコンテナのいずれかの情報を取得できます.正規表現については
<citerefentry>
<refentrytitle><command>regex</command></refentrytitle>
<manvolnum>7</manvolnum>
</citerefentry> を参照してください.もし指定しなければ,<replaceable>name</replaceable> はデフォルトで <command>lxcpath</command> に存在する全てのコンテナの情報を取得する '.*' を指定したことになります.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>-c <replaceable>KEY</replaceable></optional></option> <option><optional>-c <replaceable>KEY</replaceable></optional></option>
</term> </term>
<listitem> <listitem>
......
...@@ -47,7 +47,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -47,7 +47,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>lxc-info</command> <command>lxc-info</command>
<arg choice="opt">-n <replaceable>name</replaceable></arg> <arg choice="req">-n <replaceable>name</replaceable></arg>
<arg choice="opt">-c <replaceable>KEY</replaceable></arg> <arg choice="opt">-c <replaceable>KEY</replaceable></arg>
<arg choice="opt">-s</arg> <arg choice="opt">-s</arg>
<arg choice="opt">-p</arg> <arg choice="opt">-p</arg>
...@@ -60,8 +60,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -60,8 +60,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<refsect1> <refsect1>
<title>Description</title> <title>Description</title>
<para> <para>
<command>lxc-info</command> queries and shows information about <command>lxc-info</command> queries and shows information about a
containers. container.
</para> </para>
</refsect1> </refsect1>
...@@ -71,26 +71,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -71,26 +71,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<varlistentry> <varlistentry>
<term> <term>
<option><optional>-n <replaceable>name</replaceable></optional></option>
</term>
<listitem>
<para>
The container name. It is interpreted as a regular expression,
so it is possible to get information on all containers, several
of them or just one. See
<citerefentry>
<refentrytitle><command>regex</command></refentrytitle>
<manvolnum>7</manvolnum>
</citerefentry> for regular expression syntax. If not specified,
<replaceable>name</replaceable> will default to '.*' which
will give information on all containers in
<command>lxcpath</command>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option><optional>-c <replaceable>KEY</replaceable></optional></option> <option><optional>-c <replaceable>KEY</replaceable></optional></option>
</term> </term>
<listitem> <listitem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment