mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-02-16 10:10:40 +00:00
TConsole: Add notice about help command on wrong command
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user