mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Show conventional colored "error:"/"FATAL:" for CLI option errors
This commit is contained in:
@@ -639,7 +639,7 @@ static void replaceExtension(std::string &path, char const *extension) {
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
cli_ParseArgs(argc, argv, optstring, longopts, parseArg, fatal);
|
||||
cli_ParseArgs(argc, argv, optstring, longopts, parseArg, usage);
|
||||
|
||||
if (options.nbColorsPerPal == 0) {
|
||||
options.nbColorsPerPal = 1u << options.bitDepth;
|
||||
|
||||
Reference in New Issue
Block a user