From: Samual Date: Thu, 29 Dec 2011 01:22:24 +0000 (-0500) Subject: Fix some usage messages X-Git-Tag: xonotic-v0.6.0~188^2~28^2~37 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ccb57ad7ca68b06166b65641eb9b6533382384ce;p=xonotic%2Fxonotic-data.pk3dir.git Fix some usage messages --- diff --git a/qcsrc/common/command/generic.qc b/qcsrc/common/command/generic.qc index 5c11e5a45..2fa166e97 100644 --- a/qcsrc/common/command/generic.qc +++ b/qcsrc/common/command/generic.qc @@ -49,12 +49,11 @@ void GenericCommand_addtolist(float request, float argc) } default: - // todo + print("Incorrect parameters for ^2addtolist^7\n"); case CMD_REQUEST_USAGE: { - print(strcat("\nUsage:^3 ", GetProgramCommandPrefix(), " addtolist variable [value]")); - print(" Where 'variable' is what to add to the list,\n"); - print(" and 'value' is any extra optional paramaters to add with quotes."); + print(strcat("\nUsage:^3 ", GetProgramCommandPrefix(), " addtolist variable value")); + print(" Where 'variable' is what to add 'value' to.\n"); return; } } @@ -232,10 +231,11 @@ void GenericCommand_removefromlist(float request, float argc) } default: + print("Incorrect parameters for ^2removefromlist^7\n"); case CMD_REQUEST_USAGE: { - print(strcat("\nUsage:^3 ", GetProgramCommandPrefix(), " ")); - print(" No arguments required.\n"); + print(strcat("\nUsage:^3 ", GetProgramCommandPrefix(), " removefromlist variable value")); + print(" Where 'variable' is what cvar to remove 'value' from.\n"); return; } }