From d7c526e66d7c4d3d11ca80c141b9fae18f0a9668 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 26 Oct 1993 00:11:14 +0000 Subject: merge with 1.8.1i --- src/nice.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/nice.c') diff --git a/src/nice.c b/src/nice.c index 616a8f31c..94f750eb5 100644 --- a/src/nice.c +++ b/src/nice.c @@ -174,26 +174,22 @@ static void usage (status) int status; { - fprintf (status == 0 ? stdout : stderr, "\ -Usage: %s [OPTION]... [COMMAND [ARG]...]\n\ -", - program_name); - if (status != 0) fprintf (stderr, "Try `%s --help' for more information.\n", program_name); else - - printf ("\ + { + printf ("Usage: %s [OPTION]... [COMMAND [ARG]...]\n", program_name); + printf ("\ \n\ -ADJUST increment priority by ADJUST first\n\ - -n, --adjustment ADJUST same as -ADJUST\n\ + -n, --adjustment=ADJUST same as -ADJUST\n\ --help display this help and exit\n\ --version output version information and exit\n\ \n\ With no COMMAND, print the current scheduling priority. ADJUST is 10\n\ by default. Range goes from -20 (highest priority) to 19 (lowest).\n\ "); - + } exit (status); } -- cgit v1.2.3-54-g00ecf