diff options
author | Sami Kerola | 2014-09-14 12:12:58 +0200 |
---|---|---|
committer | Sami Kerola | 2014-09-19 20:31:13 +0200 |
commit | 94b1623be345d8a86c31fdbeb5e4749fe98f5c9d (patch) | |
tree | 228d2ca63c79c65af79dbae7a3fb0bf2aefcc63b /sys-utils/renice.c | |
parent | rename: add getpriority() message lookup table (diff) | |
download | kernel-qcow2-util-linux-94b1623be345d8a86c31fdbeb5e4749fe98f5c9d.tar.gz kernel-qcow2-util-linux-94b1623be345d8a86c31fdbeb5e4749fe98f5c9d.tar.xz kernel-qcow2-util-linux-94b1623be345d8a86c31fdbeb5e4749fe98f5c9d.zip |
renice: reorder usage() option descriptions
Make the Usage: and Options: sections to be in same order, which I found
to be quicker to use than alphabetical order.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/renice.c')
-rw-r--r-- | sys-utils/renice.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys-utils/renice.c b/sys-utils/renice.c index 994c9ded4..100f6a534 100644 --- a/sys-utils/renice.c +++ b/sys-utils/renice.c @@ -63,12 +63,13 @@ static void __attribute__((__noreturn__)) usage(FILE *out) " %1$s [-n] <priority> -u|--user <user>...\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, 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(_(" -n, --priority <num> specify the nice increment value\n"), out); + fputs(_(" -p, --pid <id> interpret argument as process ID (default)\n"), out); + fputs(_(" -g, --pgrp <id> interpret argument as process group ID\n"), out); + fputs(_(" -u, --user <name|id> interpret argument as username or user ID\n"), out); + fputs(USAGE_SEPARATOR, out); + fputs(USAGE_HELP, out); + fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("renice(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); } |