BASE: Print error messages on invalid command line parameters again

The condition was accidentally inverted when the Symbian port was
removed, I belive.
This commit is contained in:
Torbjörn Andersson 2022-06-25 16:24:53 +02:00
parent 111c045994
commit 78c8bd2fbf

View File

@ -55,7 +55,7 @@ namespace Base {
#ifndef DISABLE_COMMAND_LINE
#if defined(__DS__)
#if !defined(__DS__)
static const char USAGE_STRING[] =
"%s: %s\n"
"Usage: %s [OPTIONS]... [GAME]\n"
@ -248,7 +248,7 @@ static void usage(const char *s, ...) {
vsnprintf(buf, STRINGBUFLEN, s, va);
va_end(va);
#if defined(__DS__)
#if !defined(__DS__)
printf(USAGE_STRING, s_appName, buf, s_appName, s_appName);
#endif
exit(1);