summaryrefslogtreecommitdiffstats
path: root/schedutils
diff options
context:
space:
mode:
authorBenno Schulenberg2015-06-11 11:04:01 +0200
committerKarel Zak2015-06-15 15:06:35 +0200
commit4e4bc0c8011594dc24f45d836f7e372b4942f9dd (patch)
tree8b1351ad2fc9b29c79d6405e8ff1b3537c4e8a76 /schedutils
parentlosetup: be careful with errno (diff)
downloadkernel-qcow2-util-linux-4e4bc0c8011594dc24f45d836f7e372b4942f9dd.tar.gz
kernel-qcow2-util-linux-4e4bc0c8011594dc24f45d836f7e372b4942f9dd.tar.xz
kernel-qcow2-util-linux-4e4bc0c8011594dc24f45d836f7e372b4942f9dd.zip
chrt: make the usage synopsis clearer
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'schedutils')
-rw-r--r--schedutils/chrt.c3
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"));