]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
Man: Document what happens when multiple -s or -d options are given
authorMartin Mareš <mj@ucw.cz>
Sun, 5 Apr 2026 17:19:07 +0000 (19:19 +0200)
committerMartin Mareš <mj@ucw.cz>
Sun, 5 Apr 2026 17:19:07 +0000 (19:19 +0200)
lspci.man
setpci.man

index 09eb3adf7e225793dbf8f9827b71ed67062d8db6..938fac8e0b7e91fce68b6012f2c5637e32263068 100644 (file)
--- 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
index f0c8f0c5b2bf1f2d1c7a849b11edacea7d3c6f88..1ec89da9414bd182c9af06681992e24c07fa8bca 100644 (file)
@@ -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