diff options
| -rw-r--r-- | base/gameDetector.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp index 1d1fc39cea..e2caebc04a 100644 --- a/base/gameDetector.cpp +++ b/base/gameDetector.cpp @@ -463,11 +463,11 @@ void GameDetector::parseCommandLine(int argc, char **argv) { } } - return; - + if (current_option) { ShowHelpAndExit: - printf(USAGE_STRING); - exit(1); + printf(USAGE_STRING); + exit(1); + } } void GameDetector::setTarget(const String &name) { |
