]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Remove wrong command line arg from help output
authorChristian Brauner <christian.brauner@mailbox.org>
Thu, 28 Jan 2016 14:24:01 +0000 (15:24 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Sun, 31 Jan 2016 10:36:45 +0000 (11:36 +0100)
Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxc_ls.c

index 669f1c8802c3a6486086009cc82df98878ab0f4c..05162df11d3a967d36db2ca6693415c3a78a795c 100644 (file)
 #include <sys/types.h>
 #include <termios.h>
 
+#include <lxc/lxccontainer.h>
+
 #include "arguments.h"
 #include "conf.h"
 #include "config.h"
 #include "confile.h"
 #include "log.h"
 #include "lxc.h"
-#include "lxccontainer.h"
 #include "utils.h"
 
 lxc_log_define(lxc_ls, lxc);
@@ -179,9 +180,9 @@ static const struct option my_longopts[] = {
 static struct lxc_arguments my_args = {
        .progname = "lxc-ls",
        .help = "\n\
-[-P lxcpath] [--active] [--running] [--frozen] [--stopped] [--nesting] [-g groups] [-r regex]\n\
-[-1] [-P lxcpath] [--active] [--running] [--frozen] [--stopped] [--nesting] [-g groups] [-r regex]\n\
-[-f] [-P lxcpath] [--active] [--running] [--frozen] [--stopped] [--nesting] [-g groups] [-r regex]\n\
+[-P lxcpath] [--active] [--running] [--frozen] [--stopped] [--nesting] [-g groups] [--filter regex]\n\
+[-1] [-P lxcpath] [--active] [--running] [--frozen] [--stopped] [--nesting] [-g groups] [--filter regex]\n\
+[-f] [-P lxcpath] [--active] [--running] [--frozen] [--stopped] [--nesting] [-g groups] [--filter regex]\n\
 \n\
 lxc-ls list containers\n\
 \n\
@@ -194,7 +195,7 @@ Options :\n\
   --frozen           list only frozen containers\n\
   --stopped          list only stopped containers\n\
   --nesting=NUM      list nested containers up to NUM (default is 5) levels of nesting\n\
-  -r --regex         filter container names by regular expression\n\
+  --filter=REGEX     filter container names by regular expression\n\
   -g --groups        comma separated list of groups a container must have to be displayed\n",
        .options = my_longopts,
        .parser = my_parser,