Command line parser: Improve an error message to mention the = requriement for some commands.

See issue #18857
This commit is contained in:
Henrik Rydgård 2024-09-11 12:19:36 +02:00
parent 7f145c7b18
commit 77a58c0fb3

View file

@ -659,7 +659,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
}
}
} else {
fprintf(stderr, "Can only boot one file");
fprintf(stderr, "Syntax error: Can only boot one file.\nNote: Many command line args need a =, like --appendconfig=FILENAME.ini.\n");
#if defined(_WIN32) || defined(__ANDROID__)
// Ignore and proceed.
#else