Commit 37cf83ea by Christian Brauner Committed by Stéphane Graber

Adapt manpage for lxc-ls to new C implementation

- explain new numeric argument to --nesting - include common options as lxc-ls now uses the standard lxc parser - add history section and update authors Signed-off-by: 's avatarChristian Brauner <christian.brauner@mailbox.org> Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
parent 289cdc73
...@@ -26,6 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -26,6 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<!DOCTYPE refentry PUBLIC @docdtd@ [ <!DOCTYPE refentry PUBLIC @docdtd@ [
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml"> <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
]> ]>
...@@ -50,7 +51,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -50,7 +51,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<cmdsynopsis> <cmdsynopsis>
<command>lxc-ls</command> <command>lxc-ls</command>
<arg choice="opt">-1</arg> <arg choice="opt">-1</arg>
<arg choice="opt">-P <replaceable>lxcpath</replaceable></arg>
<arg choice="opt">--active</arg> <arg choice="opt">--active</arg>
<arg choice="opt">--frozen</arg> <arg choice="opt">--frozen</arg>
<arg choice="opt">--running</arg> <arg choice="opt">--running</arg>
...@@ -58,9 +58,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -58,9 +58,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<arg choice="opt">-f</arg> <arg choice="opt">-f</arg>
<arg choice="opt">-F <replaceable>format</replaceable></arg> <arg choice="opt">-F <replaceable>format</replaceable></arg>
<arg choice="opt">-g <replaceable>groups</replaceable></arg> <arg choice="opt">-g <replaceable>groups</replaceable></arg>
<arg choice="opt">--nesting</arg> <arg choice="opt">--nesting=<replaceable>NUM</replaceable></arg>
<arg choice="opt">filter</arg> <arg choice="opt">--filter=<replaceable>regex</replaceable></arg>
<arg choice="opt">--version</arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -88,17 +87,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -88,17 +87,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<varlistentry> <varlistentry>
<term> <term>
<option>-P, --lxcpath</option>
</term>
<listitem>
<para>
Use an alternate container path. The default is @LXCPATH@.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>--active</option> <option>--active</option>
</term> </term>
<listitem> <listitem>
...@@ -143,7 +131,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -143,7 +131,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<varlistentry> <varlistentry>
<term> <term>
<option>-f, --fancy</option> <option>-f,--fancy</option>
</term> </term>
<listitem> <listitem>
<para> <para>
...@@ -154,7 +142,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -154,7 +142,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<varlistentry> <varlistentry>
<term> <term>
<option>-F, --fancy-format <replaceable>format</replaceable></option> <option>-F,--fancy-format <replaceable>format</replaceable></option>
</term> </term>
<listitem> <listitem>
<para> <para>
...@@ -166,7 +154,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -166,7 +154,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<varlistentry> <varlistentry>
<term> <term>
<option>-g, --groups <replaceable>groups</replaceable></option> <option>-g,--groups <replaceable>groups</replaceable></option>
</term> </term>
<listitem> <listitem>
<para> <para>
...@@ -178,34 +166,26 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -178,34 +166,26 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<varlistentry> <varlistentry>
<term> <term>
<option>--nesting</option> <option>--nesting=<replaceable>NUM</replaceable></option>
</term> </term>
<listitem> <listitem>
<para> <para>
Show nested containers. Show nested containers. The number of nesting levels to be shown can
be specified by passing a number as argument.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term> <term>
<option>filter</option> <option>--filter=<replaceable>regex</replaceable></option>
</term> </term>
<listitem> <listitem>
<para> <para>
The filter passed to <command>lxc-ls</command> will be The regular expression passed to <command>lxc-ls</command> will be
applied to the container name. The format is a regular expression. applied to the container name. The format is a POSIX extended
</para> regular expression. It can also be given as additional argument
</listitem> without explicitly using <option>--filter</option>.
</varlistentry>
<varlistentry>
<term>
<option>--version</option>
</term>
<listitem>
<para>
Show the version number.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -236,12 +216,23 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ...@@ -236,12 +216,23 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
</variablelist> </variablelist>
</refsect1> </refsect1>
&commonoptions;
&seealso; &seealso;
<refsect1> <refsect1>
<title>History</title>
Written originally as a shell script by Daniel Lezcano and Serge Hallyn.
Later reimplemented and extended in Python by Stéphane Graber and then
reimplemented and extended in C by Christian Brauner.
</refsect1>
<refsect1>
<title>Author</title> <title>Author</title>
<para>Stéphane Graber <email>stgraber@ubuntu.com</email></para> <para>Christian Brauner <email>christian.brauner@mailbox.org</email>,
Stéphane Graber <email>stgraber@ubuntu.com</email></para>
</refsect1> </refsect1>
</refentry> </refentry>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
......
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