taskset: fix description of `-c` option in the man page
Commit 42f15e9848
introduced a certain
inaccuracy in -c option description; it is not _the option with an argument_,
but it is the flag that changes interpretation of `mask` parameter.
The difference is almost not noticeable, but there are one corner case where it is:
taskset -c 1 -p $$
fails (but it would work if 42f15e was correct). Instead,
taskset -c -p 1 $$
works (but it should not have if 42f15e was correct).
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
06fa581748
commit
59e2fea119
|
@ -73,9 +73,9 @@ CPU.
|
||||||
.BR \-a ,\ \-\-all\-tasks
|
.BR \-a ,\ \-\-all\-tasks
|
||||||
Set or retrieve the CPU affinity of all the tasks (threads) for a given PID.
|
Set or retrieve the CPU affinity of all the tasks (threads) for a given PID.
|
||||||
.TP
|
.TP
|
||||||
.BR \-c ,\ \-\-cpu\-list \ \fInumbers
|
.BR \-c ,\ \-\-cpu\-list
|
||||||
Specify a numerical list of processors instead of a bitmask. The \fInumbers\fR
|
Interpret \fImask\fR as numerical list of processors instead of a bitmask.
|
||||||
are separated by commas and may include ranges. For example:
|
Numbers are separated by commas and may include ranges. For example:
|
||||||
.BR 0,5,8-11 .
|
.BR 0,5,8-11 .
|
||||||
.TP
|
.TP
|
||||||
.BR \-p ,\ \-\-pid
|
.BR \-p ,\ \-\-pid
|
||||||
|
|
Loading…
Reference in New Issue