From: Ivana Hutarova Varekova Date: Wed, 18 Jul 2012 19:02:45 +0000 (+0200) Subject: cgexec: more verbose help X-Git-Tag: v0.41~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4241205f257ba8eedb1b235787b2bdc2375245d8;p=thirdparty%2Flibcgroup.git cgexec: more verbose help cgexec: create more verbose -h output similar as the other libcgroup tools Signed-off-by: Ivana Hutarova Varekova Acked-by: Jan Safranek --- diff --git a/src/tools/cgexec.c b/src/tools/cgexec.c index f03f1fa0..30725b3f 100644 --- a/src/tools/cgexec.c +++ b/src/tools/cgexec.c @@ -50,6 +50,11 @@ static void usage(int status, const char *program_name) printf("Usage: %s [-h] [-g :] " "[--sticky] command [arguments] ...\n", program_name); + printf("Run the task in given control groups\n"); + printf(" -g : Control "\ + "group which should be added\n"); + printf(" --sticky cgred "\ + "daemon does not change pidlist and children tasks\n"); } }