From 37cf83ea151d58a60d05930acb683739dec73ca2 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Wed, 20 Jan 2016 02:11:00 +0100 Subject: [PATCH] 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: Christian Brauner Acked-by: Serge E. Hallyn --- doc/lxc-ls.sgml.in | 61 ++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 35 deletions(-) diff --git a/doc/lxc-ls.sgml.in b/doc/lxc-ls.sgml.in index 41a23e6a7..d2850f23b 100644 --- a/doc/lxc-ls.sgml.in +++ b/doc/lxc-ls.sgml.in @@ -26,6 +26,7 @@ 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 lxc-ls -1 - -P lxcpath --active --frozen --running @@ -58,9 +58,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -f -F format -g groups - --nesting - filter - --version + --nesting=NUM + --filter=regex @@ -86,17 +85,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - - - - - - - Use an alternate container path. The default is @LXCPATH@. - - - - @@ -143,7 +131,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 - + @@ -166,7 +154,7 @@ 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 - + - Show nested containers. + Show nested containers. The number of nesting levels to be shown can + be specified by passing a number as argument. - + - The filter passed to lxc-ls will be - applied to the container name. The format is a regular expression. - - - - - - - - - - - Show the version number. + The regular expression passed to lxc-ls will be + applied to the container name. The format is a POSIX extended + regular expression. It can also be given as additional argument + without explicitly using . @@ -236,12 +216,23 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + &commonoptions; + &seealso; + + History + 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. + + Author - Stéphane Graber stgraber@ubuntu.com + Christian Brauner christian.brauner@mailbox.org, + Stéphane Graber stgraber@ubuntu.com +