renice: fix arguments description in --help

The --{pid,pgrp,user} options does not have arguments.

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:32:18 +01:00
parent cb99f4ea79
commit 390ba85c78
1 changed files with 3 additions and 3 deletions

View File

@ -69,9 +69,9 @@ static void __attribute__((__noreturn__)) usage(void)
fputs(USAGE_OPTIONS, 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);
fputs(_(" -p, --pid interpret arguments as process ID (default)\n"), out);
fputs(_(" -g, --pgrp interpret arguments as process group ID\n"), out);
fputs(_(" -u, --user interpret arguments as username or user ID\n"), out);
fputs(USAGE_SEPARATOR, out);
printf(USAGE_HELP_OPTIONS(24));
printf(USAGE_MAN_TAIL("renice(1)"));