]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kbdcontrol -h prints two error messages.
authorimp <imp@FreeBSD.org>
Mon, 24 Jun 2019 21:05:14 +0000 (21:05 +0000)
committerimp <imp@FreeBSD.org>
Mon, 24 Jun 2019 21:05:14 +0000 (21:05 +0000)
commitd6eb1d8344f93c92885694aeabcb340e9bc9cebc
tree1d83fbfdc8df82cd342ae0ecb417a25627e4a76e
parent6dd56b2c134f6eccbb45d0e3c916bd8a81d9aef2
kbdcontrol -h prints two error messages.

We loop through getopt(3) twice. Once for -P args and once for the
rest. Catch '?' and print usage when that happens.
usr.sbin/kbdcontrol/kbdcontrol.c