mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Do not do anything if option parsing goes wrong
This commit is contained in:
@@ -511,6 +511,11 @@ int main(int argc, char *argv[]) {
|
||||
fputs("Ready.\n", stderr);
|
||||
}
|
||||
|
||||
// Do not do anything if option parsing went wrong
|
||||
if (nbErrors) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
process();
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user