]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
taskset: fix description of `-c` option in the man page
authorYuriy M. Kaminskiy <yumkam@gmail.com>
Sun, 28 Feb 2016 00:57:03 +0000 (03:57 +0300)
committerKarel Zak <kzak@redhat.com>
Mon, 7 Mar 2016 14:11:06 +0000 (15:11 +0100)
Commit 42f15e9848dc07e86a2b80c742a0179aaced6c71 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>
schedutils/taskset.1

index 50cbe6be4c1c1ce02041f092d2cbc46e4f8bee76..901f9faf5f455188a05b42b0a5e166926d75183c 100644 (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