]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
chrt: fix --help inconsistency
authorKarel Zak <kzak@redhat.com>
Tue, 9 Jun 2015 09:16:45 +0000 (11:16 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 9 Jun 2015 09:16:45 +0000 (11:16 +0200)
Reported-by: Martin Steigerwald <ms@teamix.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
schedutils/chrt.c

index fe4c179cbded4a6bee4e5aa13ccb43c8a221b481..9b451fff86329ca8916523ad7c4802351cec19cc 100644 (file)
@@ -60,7 +60,7 @@ static void __attribute__((__noreturn__)) show_usage(int rc)
        fputs(_("Show or change the real-time scheduling attributes of a process.\n"), out);
        fprintf(out, _(
        "\nSet policy:\n"
-       "  chrt [options] [<policy>] <priority> [-p <pid> | <command> [<arg>...]]\n"
+       "  chrt [options] [-p] [<policy>] <priority> [<pid> | <command> [<arg>...]]\n"
        "\nGet policy:\n"
        "  chrt [options] -p <pid>\n"));