summaryrefslogtreecommitdiffstats
path: root/schedutils
diff options
context:
space:
mode:
authorYuriy M. Kaminskiy2016-02-28 01:57:03 +0100
committerKarel Zak2016-03-07 15:11:06 +0100
commit59e2fea11918dadaa99a8fdd25c9a2171c01db2f (patch)
treebaccd8a41087016c04e4d9ab0a72751fa07ded33 /schedutils
parentmisc: safer (and uniform) handling of return value (diff)
downloadkernel-qcow2-util-linux-59e2fea11918dadaa99a8fdd25c9a2171c01db2f.tar.gz
kernel-qcow2-util-linux-59e2fea11918dadaa99a8fdd25c9a2171c01db2f.tar.xz
kernel-qcow2-util-linux-59e2fea11918dadaa99a8fdd25c9a2171c01db2f.zip
taskset: fix description of `-c` option in the man page
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>
Diffstat (limited to 'schedutils')
-rw-r--r--schedutils/taskset.16
1 files changed, 3 insertions, 3 deletions
diff --git a/schedutils/taskset.1 b/schedutils/taskset.1
index 50cbe6be4..901f9faf5 100644
--- a/schedutils/taskset.1
+++ b/schedutils/taskset.1
@@ -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