mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Added missing detection of invalid flags.
This commit is contained in:
parent
d7c42c8132
commit
4889b4ceee
@ -491,6 +491,10 @@ int main(int argc, char** argv)
|
|||||||
case 'n':
|
case 'n':
|
||||||
count = (int) strtol(optarg, NULL, 10);
|
count = (int) strtol(optarg, NULL, 10);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
usage();
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user