TConsole: Add notice about help command on wrong command

This commit is contained in:
Lion Kortlepel
2021-12-05 00:55:42 +01:00
parent f477570a1c
commit 86169ad0fa

View File

@@ -289,7 +289,7 @@ void TConsole::RunAsCommand(const std::string& cmd, bool IgnoreNotACommand) {
}
if (NonNilFutures.size() == 0) {
if (!IgnoreNotACommand) {
Application::Console().WriteRaw("Error: Unknown command: '" + cmd + "'");
Application::Console().WriteRaw("Error: Unknown command: '" + cmd + "'. Type 'help' to see a list of valid commands.");
}
} else {
std::stringstream Reply;