Warning fix. Enter into the spirit of getopt(3) a bit more.
This commit is contained in:
parent
9afa09cd0e
commit
5ca37430d9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91080
@ -63,6 +63,8 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
while ((ch = getopt(argc, argv, "")) != -1)
|
while ((ch = getopt(argc, argv, "")) != -1)
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
|
case '?':
|
||||||
|
/* fall through */
|
||||||
default:
|
default:
|
||||||
usage();
|
usage();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user