Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
9f436f51
Commit
9f436f51
authored
Jan 28, 2016
by
Christian Brauner
Committed by
Stéphane Graber
Jan 31, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
3a828ee4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
lxc_ls.c
src/lxc/lxc_ls.c
+6
-5
No files found.
src/lxc/lxc_ls.c
View file @
9f436f51
...
@@ -31,13 +31,14 @@
...
@@ -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[] = {
...
@@ -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] [-
-filte
r 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] [-
-filte
r 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] [-
-filte
r regex]
\n
\
\n
\
\n
\
lxc-ls list containers
\n
\
lxc-ls list containers
\n
\
\n
\
\n
\
...
@@ -194,7 +195,7 @@ Options :\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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment