From: Karel Zak Date: Tue, 16 Aug 2011 11:20:54 +0000 (+0200) Subject: renice: cleanup usage() X-Git-Tag: v2.20-rc2~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae1ae49e785a4f26500550700b783a6c711ffd7a;p=thirdparty%2Futil-linux.git renice: cleanup usage() Signed-off-by: Karel Zak --- diff --git a/sys-utils/renice.c b/sys-utils/renice.c index b4d96e02f9..cd4cafab33 100644 --- a/sys-utils/renice.c +++ b/sys-utils/renice.c @@ -51,23 +51,22 @@ static int donice(int,int,int); static void __attribute__((__noreturn__)) usage(FILE *out) { - fprintf(out, _( - "\nUsage:\n" - " %1$s [-n] [-p] [ ...]\n" + fputs(_("\nUsage:\n"), out); + fprintf(out, + _(" %1$s [-n] [-p] [ ...]\n" " %1$s [-n] -g [ ...]\n" " %1$s [-n] -u [ ...]\n"), program_invocation_short_name); - fprintf(out, _( - "\nOptions:\n" - " -g, --pgrp interpret as process group ID\n" + fputs(_("\nOptions:\n"), out); + fputs(_(" -g, --pgrp interpret as process group ID\n" " -h, --help print help\n" " -n, --priority set the nice increment value\n" " -p, --pid force to be interpreted as process ID\n" " -u, --user interpret as username or user ID\n" - " -v, --version print version\n")); + " -v, --version print version\n"), out); - fprintf(out, _("\nFor more information see renice(1).\n")); + fputs(_("\nFor more information see renice(1).\n"), out); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }