pciconf(8): Fix the -x option and its documentation

Reviewed by:	kib
MFC after:	1 week
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D50421
This commit is contained in:
Navdeep Parhar
2025-05-18 23:16:18 -07:00
parent 37f00bc257
commit 79aba7a0ca
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd June 14, 2018
.Dd May 19, 2025
.Dt PCICONF 8
.Os
.Sh NAME
@@ -39,7 +39,7 @@
.Nm
.Fl w Oo Fl b | h Oc Ar device addr value
.Nm
.Fl D Oo Fl b | h | x Oc Ar device addr Op start Ns Op : Ns Ar count
.Fl D Oo Fl b | h | x Oc Ar device bar Op Ar start Op Ns Ar count
.Sh DESCRIPTION
The
.Nm
+1 -1
View File
@@ -110,7 +110,7 @@ main(int argc, char **argv)
bars = bridge = caps = errors = verbose = vpd= 0;
width = 4;
while ((c = getopt(argc, argv, "aBbcDehlrwVv")) != -1) {
while ((c = getopt(argc, argv, "aBbcDehlrwVvx")) != -1) {
switch(c) {
case 'a':
attachedmode = 1;