diff options
author | Sami Kerola | 2013-04-02 21:42:56 +0200 |
---|---|---|
committer | Karel Zak | 2013-04-05 13:56:17 +0200 |
commit | fdf8fb1cc02d88b562f67b3d79b93ed04aa41c26 (patch) | |
tree | 6f546b542f0ca6e0b5ec8be69bab14d4a10008a0 /schedutils/chrt.c | |
parent | vipw: add usage() function (diff) | |
download | kernel-qcow2-util-linux-fdf8fb1cc02d88b562f67b3d79b93ed04aa41c26.tar.gz kernel-qcow2-util-linux-fdf8fb1cc02d88b562f67b3d79b93ed04aa41c26.tar.xz kernel-qcow2-util-linux-fdf8fb1cc02d88b562f67b3d79b93ed04aa41c26.zip |
chrt: make command syntax easier to understand in usage()
And mention in manual that the default is referring to the internal
default of this command, not the Linux system default. Manual page
example also tries to be a little more complete how to use the command.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'schedutils/chrt.c')
-rw-r--r-- | schedutils/chrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 60ec73e3a..20df6fa6c 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -62,9 +62,9 @@ static void __attribute__((__noreturn__)) show_usage(int rc) fprintf(out, _( "\nchrt - manipulate real-time attributes of a process\n" "\nSet policy:\n" - " chrt [options] <policy> <priority> {<pid> | <command> [<arg> ...]}\n" + " chrt [options] [-policy] <priority> [-p <pid> | <command> <arg> ...]\n" "\nGet policy:\n" - " chrt [options] {<pid> | <command> [<arg> ...]}\n")); + " chrt [options] -p <pid>\n")); fprintf(out, _( "\nScheduling policies:\n" |