]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
cgget: add the possibility to use -g <controllers>:<path>
authorIvana Hutarova Varekova <varekova@redhat.com>
Fri, 20 May 2011 12:13:37 +0000 (14:13 +0200)
committerJan Safranek <jsafrane@redhat.com>
Fri, 27 May 2011 07:08:09 +0000 (09:08 +0200)
commitbdf080c2abf5daa991d91f9a7de1053ba32222ae
tree59525307c915bcf868c27cec513e43faa94add9e
parent41b1e431558314a43eb3f3814ce3063664061831
cgget: add the possibility to use -g <controllers>:<path>

Most of the tools use <controllers>:<path> together with -g option,
this patch adds this version of usage of -g  option to cgget tool
Older have the possibility to use  -g in form -g <controller> <path>.

--------------
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>
src/tools/cgget.c