HomeFreeBSD

usbconfig: implement a -v option

Description

usbconfig: implement a -v option

Implement a -v option to usbconfig(8), as a shortcut for the most
frequently needed commands dump_device_desc, dump_curr_config_desc,
and show_ifdrv.

While here, implement a real -h option that has been promised by the
man page.

Use <sysexits.h> to declare the utility return codes.

Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D33586
MFC after: 2 weeks

(cherry picked from commit d69b9cc26d1c24a4cbc37478a571b1f531aa7bcc)

Details

Provenance
joergAuthored on Dec 20 2021, 7:33 PM
Reviewer
hselasky
Differential Revision
D33586: usbconfig: implement -v option
Parents
rG313f267bb0df: usbconfig: documentation fixes, mainly for -i option
Branches
Unknown
Tags
Unknown