mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 14:06:41 +01:00
Merge pull request #225 from tgstation/Cyberboss-patch-1
Invalid command now outputs 1 line and doesn't output the command
This commit is contained in:
@@ -77,8 +77,7 @@ namespace TGServiceInterface
|
||||
break;
|
||||
}
|
||||
}
|
||||
OutputProc(String.Format("Invalid command: {0} {1}", Keyword, String.Join(" ", parameters)));
|
||||
OutputProc(String.Format("Type '{0}?' or '{0}help' for available commands.", Keyword != null ? Keyword + " " : ""));
|
||||
OutputProc(String.Format("Invalid command! Type '{0}?' or '{0}help' for available commands.", Keyword != null ? Keyword + " " : ""));
|
||||
return ExitCode.BadCommand;
|
||||
}
|
||||
public override void PrintHelp()
|
||||
|
||||
Reference in New Issue
Block a user