]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
devmatch: introduce quiet command line option
authorBjoern A. Zeeb <bz@FreeBSD.org>
Sun, 13 Aug 2023 21:33:48 +0000 (21:33 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 15 Aug 2023 22:54:48 +0000 (22:54 +0000)
commita1df36f1b99bf2b8dcee66327f55888667fa4b2f
tree862d8560e686569c00dba6d20f83e353968e688b
parent34d55be0747ba4452f9611ca88fe21e9d94be266
devmatch: introduce quiet command line option

In setups without hints whatsoever one can get a long list of
"Can't read linker hints file" error messages during boot.
Add a -q/--quiet option which would suppress the noise and leave
space for more essential information.

While here switch to a pre-defined exit code from sysexits.

MFC after: 4 weeks
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D41443
sbin/devmatch/devmatch.8
sbin/devmatch/devmatch.c