From: Martin Mareš Date: Sun, 5 Apr 2026 17:19:07 +0000 (+0200) Subject: Man: Document what happens when multiple -s or -d options are given X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=41a10bf039cf632b22ea3761d60a2dd5771973ef;p=pciutils.git Man: Document what happens when multiple -s or -d options are given --- diff --git a/lspci.man b/lspci.man index 09eb3ad..938fac8 100644 --- a/lspci.man +++ b/lspci.man @@ -146,6 +146,14 @@ the fourth function of each device. Show only devices with specified vendor, device, class ID, and programming interface. The IDs are given in hexadecimal and may be omitted or given as "*", both meaning "any value". The class ID can contain "x" characters which stand for "any digit". +.PP +When +.B -s +and +.B -d +are combined, only devices that match both criteria are selected. When the same +option is used multiple times, the rightmost one overrides the others +and a warning is produced. .SS Other options .TP diff --git a/setpci.man b/setpci.man index f0c8f0c..1ec89da 100644 --- a/setpci.man +++ b/setpci.man @@ -115,8 +115,9 @@ When .B -s and .B -d -are combined, only devices that match both criteria are selected. When multiple -options of the same kind are specified, the rightmost one overrides the others. +are combined, only devices that match both criteria are selected. When the same +option is used multiple times, the rightmost one overrides the others +and a warning is produced. .SH OPERATIONS .PP