Usage text old version: Usage: renice [-n] priority [-p|--pid] pid [... pid] renice [-n] priority -g|--pgrp pgrp [... pgrp] renice [-n] priority -u|--user user [... user] renice -h | --help renice -v | --version Usage text new version: Usage: renice [-n] priority [[-p] pid ...] [-g pgrp ...] [-u user ...] Alter the scheduling priority of one or more running processes. -n, --priority <num> Set the nice increment value -p, --pid <id> Force to be interpreted as process ID -g, --pgrp <id> Interpret as process group ID -u, --user <name|id> Interpret as username or user ID -h, --help Print help -v, --version Print version Signed-off-by: Francesco Cosoleto <cosoleto@xxxxxxxxx> --- sys-utils/renice.c | 20 ++++++++++++++------ 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/sys-utils/renice.c b/sys-utils/renice.c index f879791..ccfe9c0 100644 --- a/sys-utils/renice.c +++ b/sys-utils/renice.c @@ -50,12 +50,20 @@ static int donice(int,int,int); static void usage(int rc) { - printf( _("\nUsage:\n" - " renice [-n] priority [-p|--pid] pid [... pid]\n" - " renice [-n] priority -g|--pgrp pgrp [... pgrp]\n" - " renice [-n] priority -u|--user user [... user]\n" - " renice -h | --help\n" - " renice -v | --version\n\n")); + printf(_("Usage: %s [-n] priority [[-p] pid ...] [-g pgrp ...] [-u user ...]\n"), + program_invocation_short_name); + + printf(_( + "Alter the scheduling priority of one or more running processes.\n\n" + + " -n, --priority <num> Set the nice increment value\n\n" + + " -p, --pid <id> Force to be interpreted as process ID\n" + " -g, --pgrp <id> Interpret as process group ID\n" + " -u, --user <name|id> Interpret as username or user ID\n\n" + + " -h, --help Print help\n" + " -v, --version Print version\n\n")); exit(rc); } -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html