mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
display help if gameid is not specified in commandline
This commit is contained in:
1 parent
97e60dba2c
commit
4feb080cf6
1 file changed
+7
@@ -466,8 +466,15 @@ bool processSettings(Common::String &command, Common::StringMap &settings) {
|
||||
} else {
|
||||
#ifndef DISABLE_COMMAND_LINE
|
||||
usage("Unrecognized game target '%s'", command.c_str());
|
||||
#else
|
||||
return false;
|
||||
#endif // DISABLE_COMMAND_LINE
|
||||
}
|
||||
} else {
|
||||
#ifndef DISABLE_COMMAND_LINE
|
||||
printf(HELP_STRING, s_appName);
|
||||
#endif // DISABLE_COMMAND_LINE
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user