renice: fix --help text

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>
This commit is contained in:
Karel Zak 2019-11-08 11:22:57 +01:00
parent 48bb8522fe
commit cb99f4ea79
1 changed files with 1 additions and 1 deletions

View 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);