From 94b1623be345d8a86c31fdbeb5e4749fe98f5c9d Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 14 Sep 2014 11:12:58 +0100 Subject: 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 --- sys-utils/renice.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'sys-utils/renice.c') 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] -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); } -- cgit v1.2.3-55-g7522