]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
renice: fix --help text
authorKarel Zak <kzak@redhat.com>
Fri, 8 Nov 2019 10:22:57 +0000 (11:22 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 8 Nov 2019 10:22:57 +0000 (11:22 +0100)
The option [-n] in the code has no any meaning and the value is used
as priority, not incrementally.

Reported-by: Stephane Chazelas <stephane.chazelas@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/renice.c

index fbce39a1f8f7755853bc4f570aa4575e3a64b942..ab23444aa8ba191d99fa67aa3baf6cc832b9575a 100644 (file)
@@ -68,7 +68,7 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_("Alter the priority of running processes.\n"), out);
 
        fputs(USAGE_OPTIONS, out);
-       fputs(_(" -n, --priority <num>   specify the nice increment value\n"), out);
+       fputs(_(" -n, --priority <num>   specify the nice 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);