From: Samual Date: Fri, 30 Dec 2011 06:13:58 +0000 (-0500) Subject: More fixes for usage X-Git-Tag: xonotic-v0.6.0~188^2~28^2~18 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c55b0af83510bb481035abedd962da12bf075af5;p=xonotic%2Fxonotic-data.pk3dir.git More fixes for usage --- diff --git a/qcsrc/server/command/banning.qc b/qcsrc/server/command/banning.qc index f3c7e6e81..d575cc7f4 100644 --- a/qcsrc/server/command/banning.qc +++ b/qcsrc/server/command/banning.qc @@ -18,7 +18,7 @@ void BanCommand_ban(float request, float argc, string command) reason_arg = 2; GET_BAN_ARG(bantime, autocvar_g_ban_default_bantime); - GET_BAN_REASON(reason, "No reason provided."); + GET_BAN_REASON(reason, "No reason provided"); Ban_Insert(ip, bantime, reason, 1); return; @@ -29,8 +29,8 @@ void BanCommand_ban(float request, float argc, string command) print("Incorrect parameters for ^2ban^7\n"); case CMD_REQUEST_USAGE: { - print("\nUsage:^3 sv_cmd ban address [time] reason\n"); - print(" No arguments required.\n"); + print("\nUsage:^3 sv_cmd ban address [time] [reason]\n"); + print(" No arguments required. todo\n"); return; } } @@ -92,7 +92,7 @@ void BanCommand_kickban(float request, float argc, string command) print("Incorrect parameters for ^2kickban^7\n"); case CMD_REQUEST_USAGE: { - print("\nUsage:^3 sv_cmd kickban client [bantime masksize reason]\n"); + print("\nUsage:^3 sv_cmd kickban client [bantime] [masksize] [reason]\n"); print(" No arguments required. todo\n"); return; }