Invalid params should go to console
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -1077,6 +1077,9 @@ int handleCmdLine(int argc, char **argv)
|
||||
#endif
|
||||
else
|
||||
{
|
||||
// invalid param needs to go to console
|
||||
UserConfigParams::m_log_errors_to_console = true;
|
||||
|
||||
Log::error("main", "Invalid parameter: %s.\n", argv[i] );
|
||||
cmdLineHelp(argv[0]);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user