Fix the manual page to reflect the additional usage of -g: old version: $ cgget -h Usage: cgget [-nv] [-r<name>] [-g<controller>] [-a] ...<path> ...
new version: $ ./cgget -h Usage: cgget [-nv] [-r<name>] [-g<controller>] [-a] <path> ... or: cgget [-nv] [-r<name>] -g<controller>:<path> ... Signed-off-by: Ivana Hutarova Varekova <varek...@redhat.com> --- doc/man/cgget.1 | 31 ++++++++++++++++++++----------- 1 files changed, 20 insertions(+), 11 deletions(-) diff --git a/doc/man/cgget.1 b/doc/man/cgget.1 index 679f993..7cdafd5 100644 --- a/doc/man/cgget.1 +++ b/doc/man/cgget.1 @@ -8,7 +8,10 @@ cgget \- print parameter(s) of given group(s) .SH SYNOPSIS \fBcgget\fR [\fB-n\fR] [\fB-v\fR] [\fB-r\fR <\fIname\fR>] -[\fB-g\fR <\fIcontroller\fR>] [\fB-a\fR] <\fBcgroup_path\fR> ... +[\fB-g\fR <\fIcontroller\fR>] [\fB-a\fR] <\fBpath\fR> ... +.br +\fBcgget\fR [\fB-n\fR] [\fB-v\fR] [\fB-r\fR <\fIname\fR>] +\fB-g\fR <\fIcontroller\fR>:<\fBpath\fR> ... .SH DESCRIPTION Prints the parameter(s) of input cgroup(s). @@ -21,30 +24,36 @@ is the name of the cgroup which should be read. This parameter can be used multiple times. .TP -.B -r, --variable <name> -defines parameter to display. -This option can be used multiple times. +.B -a, --all +print the variables for all controllers which consist in the given cgroup .TP .B -g <controller> -defines controller which values should be displaied. +defines controller which values should be displayed. This option can be used multiple times. .TP -.B -a, --all -print the variables for all controllers which consist in the given cgroup +.B -g <controller>:<path> +defines control groups which values should be displayed. +This option can be used multiple times. + +.TP +.B -h, --help +display help and exit .TP .B -n do not print headers, i.e. names of groups. .TP -.B -v, --values-only -print only values, not parameter names. +.B -r, --variable <name> +defines parameter to display. +This option can be used multiple times. + .TP -.B -h, --help -display help and exit +.B -v, --values-only +print only values, not parameter names. .SH EXAMPLES .nf ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel