BASE: Do not warn on unhandled empty command, improve warning wording

This commit is contained in:
Eugene Sandulenko 2021-04-14 20:37:28 +02:00
parent 8af0b8baa5
commit 6608aac670
No known key found for this signature in database
GPG key ID: 014D387312D34F08

View file

@ -1460,7 +1460,8 @@ bool processSettings(Common::String &command, Common::StringMap &settings, Commo
return true;
#endif
} else {
warning("Unhandled command \"%s\"", command.c_str());
if (!command.empty())
warning("processSettings(): Unhandled command line parameter \"%s\"", command.c_str());
}
#endif // DISABLE_COMMAND_LINE