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:
Yuriy M. Kaminskiy 2016-02-28 03:57:03 +03:00 committed by Karel Zak
parent 06fa581748
commit 59e2fea119
1 changed files with 3 additions and 3 deletions

View File

@ -73,9 +73,9 @@ CPU.
.BR \-a ,\ \-\-all\-tasks
Set or retrieve the CPU affinity of all the tasks (threads) for a given PID.
.TP
.BR \-c ,\ \-\-cpu\-list \ \fInumbers
Specify a numerical list of processors instead of a bitmask. The \fInumbers\fR
are separated by commas and may include ranges. For example:
.BR \-c ,\ \-\-cpu\-list
Interpret \fImask\fR as numerical list of processors instead of a bitmask.
Numbers are separated by commas and may include ranges. For example:
.BR 0,5,8-11 .
.TP
.BR \-p ,\ \-\-pid