From: Martin Mares Date: Fri, 15 Apr 2022 23:26:19 +0000 (+0200) Subject: Document new filter syntax in man pages X-Git-Tag: v3.8.0~3 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=2c32712a1b78818c4d3fd6dc814bc505ba78f52c;p=pciutils.git Document new filter syntax in man pages --- diff --git a/lspci.man b/lspci.man index c12aaa8..624404e 100644 --- a/lspci.man +++ b/lspci.man @@ -142,10 +142,10 @@ hexadecimal. E.g., "0:" means all devices on bus 0, "0" means all functions of on any bus, "0.3" selects third function of device 0 on all buses and ".4" shows only the fourth function of each device. .TP -.B -d []:[][:] -Show only devices with specified vendor, device and class ID. The ID's are -given in hexadecimal and may be omitted or given as "*", both meaning -"any value". +.B -d []:[][:[:]] +Show only devices with specified vendor, device, class ID, and programming interface. +The ID's 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". .SS Other options .TP diff --git a/setpci.man b/setpci.man index 6fee784..9e4e1d8 100644 --- a/setpci.man +++ b/setpci.man @@ -106,9 +106,10 @@ hexadecimal. E.g., "0:" means all devices on bus 0, "0" means all functions of on any bus, "0.3" selects third function of device 0 on all buses and ".4" matches only the fourth function of each device. .TP -.B -d []:[] -Select devices with specified vendor and device ID. Both ID's are given in -hexadecimal and may be omitted or given as "*", both meaning "any value". +.B -d []:[][:[:]] +Select devices with specified vendor, device, class ID, and programming interface. +The ID's 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