]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix some usage messages
authorSamual <samual@xonotic.org>
Thu, 29 Dec 2011 01:22:24 +0000 (20:22 -0500)
committerSamual <samual@xonotic.org>
Thu, 29 Dec 2011 01:22:24 +0000 (20:22 -0500)
qcsrc/common/command/generic.qc

index 5c11e5a452b1a1c56b4721979770ab4a5da40862..2fa166e978b5f879dfcbbc774f5cdec6a2f4acfc 100644 (file)
@@ -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;
                }
        }