diff options
author | Benno Schulenberg <bensberg@justemail.net> | 2015-06-11 11:04:01 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2015-06-15 15:06:35 +0200 |
commit | 4e4bc0c8011594dc24f45d836f7e372b4942f9dd (patch) | |
tree | 8b1351ad2fc9b29c79d6405e8ff1b3537c4e8a76 /schedutils | |
parent | 2cde9865c27248bb1f7685b66a0a5830884f5869 (diff) | |
download | util-linux-4e4bc0c8011594dc24f45d836f7e372b4942f9dd.tar.gz |
chrt: make the usage synopsis clearer
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'schedutils')
-rw-r--r-- | schedutils/chrt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 9b451fff8..b6923b2b5 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -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")); |