summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2022-05-30 23:02:02 +0000
committerrillig <rillig@NetBSD.org>2022-05-30 23:02:02 +0000
commite9f2755be2f5810b99b8bdff8c9ac3f7c81deba4 (patch)
tree637336490042604e479169f3ff431160156dcb0a /sys/dev/microcode
parente8d324edc09a3359201e6f529331270f02c6494c (diff)
lint: clean up usage messages
The two synopsis forms differed in the spelling of 'file ...'. The options string for getopt does not start with ':', which led to a duplicate message 'unknown option -- ?' followed by 'Unknown flag ?'. Be more specific when calling 'lint file.c -u'; the message 'Unknown argument' was not helpful as it didn't pinpoint that there are two different phases for parsing options. In the second phase, only the options '-L' and '-l' are recognized. In the manual page, mention the difference between the two synopsis forms as early as possible. The two synopsis forms are very similar and both have far to many options to see the difference at a glance.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions