From 59e2fea11918dadaa99a8fdd25c9a2171c01db2f Mon Sep 17 00:00:00 2001 From: Yuriy M. Kaminskiy Date: Sun, 28 Feb 2016 03:57:03 +0300 Subject: 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 --- schedutils/taskset.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'schedutils') 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 -- cgit v1.2.3-55-g7522