]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
chrt: make the usage synopsis clearer
authorBenno Schulenberg <bensberg@justemail.net>
Thu, 11 Jun 2015 09:04:01 +0000 (11:04 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 15 Jun 2015 13:06:35 +0000 (15:06 +0200)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
schedutils/chrt.c

index 9b451fff86329ca8916523ad7c4802351cec19cc..b6923b2b5b252609f4970653b8bddc2e8e3b2f1d 100644 (file)
@@ -60,7 +60,8 @@ 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] [-p] [<policy>] <priority> [<pid> | <command> [<arg>...]]\n"
+       "  chrt [options] <priority> <command> [<arg>...]\n"
+       "  chrt [options] -p <priority> <pid>\n"
        "\nGet policy:\n"
        "  chrt [options] -p <pid>\n"));