cgexec: create more verbose -h output similar as the other libcgroup tools
Signed-off-by: Ivana Hutarova Varekova <varek...@redhat.com> --- src/tools/cgexec.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/tools/cgexec.c b/src/tools/cgexec.c index f03f1fa..30725b3 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 <controllers>:<path>] " "[--sticky] command [arguments] ...\n", program_name); + printf("Run the task in given control groups\n"); + printf(" -g <controllers>:<path> Control "\ + "group which should be added\n"); + printf(" --sticky cgred "\ + "daemon does not change pidlist and children tasks\n"); } } ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel