summaryrefslogtreecommitdiff
path: root/src/nice.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-15 04:53:56 +0000
committerJim Meyering <jim@meyering.net>1995-05-15 04:53:56 +0000
commit635b1b5b6e5c7339a295f6a84b972f048f50fec2 (patch)
treef43677b8210510aa637d84c7a6342012120b3e7a /src/nice.c
parent2c74d574d332e54fef1ee8fbf3feee4cbf56e78c (diff)
downloadcoreutils-635b1b5b6e5c7339a295f6a84b972f048f50fec2.tar.xz
(usage): Add one- and two-line descriptions to --help output.
From Karl.
Diffstat (limited to 'src/nice.c')
-rw-r--r--src/nice.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nice.c b/src/nice.c
index 6f8080334..337c4137b 100644
--- a/src/nice.c
+++ b/src/nice.c
@@ -191,15 +191,14 @@ usage (status)
{
printf ("Usage: %s [OPTION]... [COMMAND [ARG]...]\n", program_name);
printf ("\
+Run COMMAND with an adjusted scheduling priority.\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\
\n\
-ADJUST increment priority by ADJUST first\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\
-");
+ --version output version information and exit\n");
}
exit (status);
}