From: Sami Kerola Date: Sun, 14 Sep 2014 10:12:58 +0000 (+0100) Subject: renice: reorder usage() option descriptions X-Git-Tag: v2.26-rc1~448^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94b1623be345d8a86c31fdbeb5e4749fe98f5c9d;p=thirdparty%2Futil-linux.git 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 --- diff --git a/sys-utils/renice.c b/sys-utils/renice.c index 994c9ded41..100f6a5349 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] -u|--user ...\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, 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(_(" -n, --priority specify the nice increment value\n"), out); + fputs(_(" -p, --pid interpret argument as process ID (default)\n"), out); + fputs(_(" -g, --pgrp interpret argument as process group ID\n"), out); + fputs(_(" -u, --user 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); }