From ae3ca2aacc440627c69e5962b6bbb916a380da9c Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 6 Feb 2012 16:44:23 +0100 Subject: renice: correct the usage synopsis, and improve help text Signed-off-by: Benno Schulenberg --- sys-utils/renice.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sys-utils/renice.c') diff --git a/sys-utils/renice.c b/sys-utils/renice.c index f5d51b66a..aeede1813 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); -- cgit v1.2.3-55-g7522