From 8e938686072622014d0a89fe63695704adb72560 Mon Sep 17 00:00:00 2001 From: Ivana Hutarova Varekova Date: Fri, 20 May 2011 14:13:44 +0200 Subject: [PATCH] cgget(1): fix the manual page to describe -g properly Fix the manual page to reflect the additional usage of -g: old version: $ cgget -h Usage: cgget [-nv] [-r] [-g] [-a] ... ... new version: $ ./cgget -h Usage: cgget [-nv] [-r] [-g] [-a] ... or: cgget [-nv] [-r] -g: ... Signed-off-by: Ivana Hutarova Varekova Signed-off-by: Jan Safranek --- doc/man/cgget.1 | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/doc/man/cgget.1 b/doc/man/cgget.1 index 679f993b..91ad1171 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,9 +24,8 @@ is the name of the cgroup which should be read. This parameter can be used multiple times. .TP -.B -r, --variable -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 @@ -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 : +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 +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 -- 2.47.2