diff options
author | Benno Schulenberg | 2012-02-06 16:44:23 +0100 |
---|---|---|
committer | Karel Zak | 2013-01-25 11:47:30 +0100 |
commit | ae3ca2aacc440627c69e5962b6bbb916a380da9c (patch) | |
tree | bd41a3764d2c6d78af993f043b95db8dde72a718 /sys-utils/renice.c | |
parent | textual: standardize reporting of program name plus package version (diff) | |
download | kernel-qcow2-util-linux-ae3ca2aacc440627c69e5962b6bbb916a380da9c.tar.gz kernel-qcow2-util-linux-ae3ca2aacc440627c69e5962b6bbb916a380da9c.tar.xz kernel-qcow2-util-linux-ae3ca2aacc440627c69e5962b6bbb916a380da9c.zip |
renice: correct the usage synopsis, and improve help text
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/renice.c')
-rw-r--r-- | sys-utils/renice.c | 18 |
1 files changed, 9 insertions, 9 deletions
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] <priority> [-p] <pid> [<pid> ...]\n" - " %1$s [-n] <priority> -g <pgrp> [<pgrp> ...]\n" - " %1$s [-n] <priority> -u <user> [<user> ...]\n"), + _(" %1$s [-n] <priority> [-p|--pid] <pid>...\n" + " %1$s [-n] <priority> -g|--pgrp <pgid>...\n" + " %1$s [-n] <priority> -u|--user <user>...\n"), program_invocation_short_name); fputs(_("\nOptions:\n"), out); - fputs(_(" -g, --pgrp <id> interpret as process group ID\n" - " -h, --help print help\n" - " -n, --priority <num> set the nice increment value\n" - " -p, --pid <id> force to be interpreted as process ID\n" - " -u, --user <name|id> interpret as username or user ID\n" - " -v, --version print version\n"), out); + fputs(_(" -g, --pgrp <id> interpret argument as process group ID\n" + " -n, --priority <num> specify the nice increment value\n" + " -p, --pid <id> interpret argument as process ID (default)\n" + " -u, --user <name|id> 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); |