mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-29 06:17:48 +00:00
Show conventional colored "error:"/"FATAL:" for CLI option errors
This commit is contained in:
@@ -513,7 +513,7 @@ int main(int argc, char *argv[]) {
|
||||
options.maxErrors = 100; // LCOV_EXCL_LINE
|
||||
}
|
||||
|
||||
cli_ParseArgs(argc, argv, optstring, longopts, parseArg, fatal);
|
||||
cli_ParseArgs(argc, argv, optstring, longopts, parseArg, usage);
|
||||
|
||||
if (!options.targetFileName && options.objectFileName) {
|
||||
options.targetFileName = options.objectFileName;
|
||||
|
||||
Reference in New Issue
Block a user