Remove wrong command line arg from help output

Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
Christian Brauner 2016-01-28 15:24:01 +01:00 committed by Stéphane Graber
parent 3a828ee4df
commit 9f436f51a1

View File

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