]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
renice: fix arguments description in --help
authorKarel Zak <kzak@redhat.com>
Fri, 8 Nov 2019 10:32:18 +0000 (11:32 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 8 Nov 2019 10:32:18 +0000 (11:32 +0100)
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>
sys-utils/renice.c

index ab23444aa8ba191d99fa67aa3baf6cc832b9575a..080b86e0bb302ea3a77202484d076885a8209c2e 100644 (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)"));