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:
Jordan Brown
2017-10-01 10:53:31 -04:00
committed by GitHub
+1 -2
View File
@@ -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()