From: Benno Schulenberg Date: Mon, 6 Feb 2012 15:44:23 +0000 (+0100) Subject: renice: correct the usage synopsis, and improve help text X-Git-Tag: v2.23-rc1~303 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae3ca2aacc440627c69e5962b6bbb916a380da9c;p=thirdparty%2Futil-linux.git renice: correct the usage synopsis, and improve help text Signed-off-by: Benno Schulenberg --- diff --git a/sys-utils/renice.c b/sys-utils/renice.c index f5d51b66a1..aeede18138 100644 --- a/sys-utils/renice.c +++ b/sys-utils/renice.c @@ -54,18 +54,18 @@ static void __attribute__((__noreturn__)) usage(FILE *out) { fputs(_("\nUsage:\n"), out); fprintf(out, - _(" %1$s [-n] [-p] [ ...]\n" - " %1$s [-n] -g [ ...]\n" - " %1$s [-n] -u [ ...]\n"), + _(" %1$s [-n] [-p|--pid] ...\n" + " %1$s [-n] -g|--pgrp ...\n" + " %1$s [-n] -u|--user ...\n"), program_invocation_short_name); 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"), out); + fputs(_(" -g, --pgrp interpret argument as process group ID\n" + " -n, --priority specify the nice increment value\n" + " -p, --pid interpret argument as process ID (default)\n" + " -u, --user interpret argument as username or user ID\n" + " -h, --help display help text and exit\n" + " -v, --version display version information and exit\n"), out); fputs(_("\nFor more information see renice(1).\n"), out);