]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
cgget(1): fix the manual page to describe -g properly
authorIvana Hutarova Varekova <varekova@redhat.com>
Fri, 20 May 2011 12:13:44 +0000 (14:13 +0200)
committerJan Safranek <jsafrane@redhat.com>
Fri, 27 May 2011 07:08:09 +0000 (09:08 +0200)
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 <varekova@redhat.com>
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
doc/man/cgget.1

index 679f993b7bc2ebe68ea85ad81231fef8c07df9df..91ad1171eb3a6e5873ae40aa5ed0f758422736ec 100644 (file)
@@ -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,9 +24,8 @@ 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>
@@ -31,20 +33,27 @@ defines controller which values should be displaied.
 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 displaied.
+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