[PATCH 1/2] chrt: make the usage synopsis clearer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxxxxx>
---
 schedutils/chrt.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/schedutils/chrt.c b/schedutils/chrt.c
index 9b451ff..b6923b2 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"));
 
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux