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