diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-01-23 22:39:36 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-01-23 22:39:36 +0000 |
commit | bd40c7e337a18bf9d463aefa7cf13a50a67e2077 (patch) | |
tree | 20132c23702dfb7e15491ba23781c8dc6e067c15 /sys/dev/ofw | |
parent | 5b2ff1ccbeaef66707f1bfdf454109845ee98c85 (diff) |
Separate command line syntax parsing from semantic validation of
command line contents. Display usage() when syntax is incorrect and
relevant error messages when semantic checks fail.
More akin to the way other commands handle the syntax/semantic split.
Idea taken from a larger diff by kn@.
ok kn@
Diffstat (limited to 'sys/dev/ofw')
0 files changed, 0 insertions, 0 deletions