The patch creates more verbose help output Signed-off-by: Ivana Hutarova Varekova <varek...@redhat.com> ---
0 files changed, 0 insertions(+), 0 deletions(-) diff --git a/src/tools/cgdelete.c b/src/tools/cgdelete.c index c7b4721..e84cd2d 100644 --- a/src/tools/cgdelete.c +++ b/src/tools/cgdelete.c @@ -40,9 +40,15 @@ static void usage(int status, const char *program_name) " try %s --help' for more information.\n", program_name); else { - printf("Usage: %s [-h ] [-r ] " - "\[[-g] <controllers>:<path>] ...\n", - program_name); + fprintf(stdout, "Usage: %s [-h] [-r] "\ + "[[-g] <controllers>:<path>] ...\n", program_name); + fprintf(stdout, "Remove control group(s)\n"); + fprintf(stdout, " -g <controllers>:<path> "\ + "Control group to be removed (-g is optional)\n"); + fprintf(stdout, " -h, --help "\ + "Display this help\n"); + fprintf(stdout, " -r, --recursive "\ + "Recursively remove all subgroups\n"); } } ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel