It comes from PR 247411
-d and -v are not equivalent options. The former is more verbose than the
latter and the former does not actually send the signals while the latter does.
-d does not implies -s because the output generated is different (when using
-d and -s the output is the union of the output of both flags)
From the point of view of the output, -v is equivalent to -s. The difference
is that former actually sends the signals and the latter doesn't.
e.g:
$ killall -d firefox uid:1001 nprocs 35 sig:15, cmd:firefox, pid:60723, dev:0xffffffffffffffff uid:1001 sig:15, cmd:firefox, pid:60620, dev:0xffffffffffffffff uid:1001 sig:15, cmd:firefox, pid:97822, dev:0xffffffffffffffff uid:1001 sig:15, cmd:firefox, pid:97475, dev:0xffffffffffffffff uid:1001 sig:15, cmd:firefox, pid:97285, dev:0xffffffffffffffff uid:1001 sig:15, cmd:firefox, pid:97131, dev:0xffffffffffffffff uid:1001 $ killall -s firefox kill -TERM 60723 kill -TERM 60620 kill -TERM 97822 kill -TERM 97475 kill -TERM 97285 kill -TERM 97131 $ killall -d -s firefox uid:1001 nprocs 34 sig:15, cmd:firefox, pid:3346, dev:0xffffffffffffffff uid:1001 kill -TERM 3346 sig:15, cmd:firefox, pid:3345, dev:0xffffffffffffffff uid:1001 kill -TERM 3345 sig:15, cmd:firefox, pid:3344, dev:0xffffffffffffffff uid:1001 kill -TERM 3344 sig:15, cmd:firefox, pid:3308, dev:0xffffffffffffffff uid:1001 kill -TERM 3308 sig:15, cmd:firefox, pid:3306, dev:0xffffffffffffffff uid:1001 kill -TERM 3306 $ killall -v firefox kill -TERM 60723 kill -TERM 60620 kill -TERM 97822 kill -TERM 97475 kill -TERM 97285 kill -TERM 97131 <--- Here firefox gets actually killed
The changes:
- Split -d and -v option descriptions. Detail the former a bit more.
- Add -v section
- Change -s section to mention -v
Note: I removed the "For a single -d option..." because as far as I can tell, it
does not matter if we use one or several -d flags.