From: Ivana Hutarova Varekova Date: Fri, 27 Sep 2013 05:09:56 +0000 (+0200) Subject: cgdelete: unification of usage function output X-Git-Tag: v0.41~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8eadd65f84af692bd6b004f956d409b0f55dbf4a;p=thirdparty%2Flibcgroup.git cgdelete: unification of usage function output cgdelete use spaces instead of tabulator use printf instead of fprintf(stdout,...) Signed-off-by: Ivana Hutarova Varekova Acked-by: Dhaval Giani Acked-by: Jan Safranek --- diff --git a/src/tools/cgdelete.c b/src/tools/cgdelete.c index 75fa9070..190310f1 100644 --- a/src/tools/cgdelete.c +++ b/src/tools/cgdelete.c @@ -41,13 +41,13 @@ static void usage(int status, const char *program_name) program_name); return; } - fprintf(stdout, "Usage: %s [-h] [-r] [[-g] :] ...\n", + printf("Usage: %s [-h] [-r] [[-g] :] ...\n", program_name); - fprintf(stdout, "Remove control group(s)\n"); - fprintf(stdout, " -g : Control group to be "\ - "removed (-g is optional)\n"); - fprintf(stdout, " -h, --help Display this help\n"); - fprintf(stdout, " -r, --recursive Recursively remove "\ + printf("Remove control group(s)\n"); + printf(" -g : Control group to be removed "\ + "(-g is optional)\n"); + printf(" -h, --help Display this help\n"); + printf(" -r, --recursive Recursively remove "\ "all subgroups\n"); }