diff --git a/Core/CmdLine.cpp b/Core/CmdLine.cpp index e2e896bd95..8e2baab246 100644 --- a/Core/CmdLine.cpp +++ b/Core/CmdLine.cpp @@ -414,7 +414,7 @@ CommandLineParseResult CommandLineOptions::Parse(int argc, const char *argv[], C parsedAutoParam = true; break; } else if (result == ParseParamResult::BadValue) { - return CommandLineParseResult::Exit; + return CommandLineParseResult::Error; } // else nomatch }