diff options
| author | rillig <rillig@NetBSD.org> | 2022-05-30 23:02:02 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2022-05-30 23:02:02 +0000 |
| commit | e9f2755be2f5810b99b8bdff8c9ac3f7c81deba4 (patch) | |
| tree | 637336490042604e479169f3ff431160156dcb0a /sys/dev/microcode/run | |
| parent | e8d324edc09a3359201e6f529331270f02c6494c (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/run')
0 files changed, 0 insertions, 0 deletions
