]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
doc: Fix the description of -n option in lxc-info(1)
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Tue, 24 Dec 2013 06:56:23 +0000 (15:56 +0900)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 24 Dec 2013 11:43:56 +0000 (12:43 +0100)
Commit 5444216 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: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
doc/ja/lxc-info.sgml.in
doc/lxc-info.sgml.in

index c004814935a5aebea901c5e527323ba28c84473c..19d97c23e39d227d5958366ff23e4dbcac3f1e84 100644 (file)
@@ -53,7 +53,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
   <refsynopsisdiv>
     <cmdsynopsis>
       <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">-s</arg>
       <arg choice="opt">-p</arg>
@@ -67,8 +67,8 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
     <title><!-- Description -->説明</title>
     <para>
       <!--
-      <command>lxc-info</command> queries and shows information about
-      containers.
+      <command>lxc-info</command> queries and shows information about a
+      container.
       -->
       <command>lxc-info</command> は,コンテナに関する情報を問い合わせ,表示します.
     </para>
@@ -78,33 +78,6 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
     <title><!-- Options --></title>
     <variablelist>
 
-      <varlistentry>
-        <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>
index 5f99994bb353a68adeb59647652955db28f69a26..af93d94f2935f7670518b60cc0dadf969c523252 100644 (file)
@@ -47,7 +47,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
   <refsynopsisdiv>
     <cmdsynopsis>
       <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">-s</arg>
       <arg choice="opt">-p</arg>
@@ -60,8 +60,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
   <refsect1>
     <title>Description</title>
     <para>
-      <command>lxc-info</command> queries and shows information about
-      containers.
+      <command>lxc-info</command> queries and shows information about a
+      container.
     </para>
   </refsect1>
 
@@ -69,26 +69,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
     <title>Options</title>
     <variablelist>
 
-      <varlistentry>
-        <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>