]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/common.qc
Standardize command usage messages:
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / common.qc
index 5dff9f5f5b370ed6bb0424c2a76133d49eb879cf..34088bd9da2c82c6b6bc30e0e561692c57c0806f 100644 (file)
@@ -463,7 +463,7 @@ void CommonCommand_editmob(int request, entity caller, int argc)
                default:
                case CMD_REQUEST_USAGE:
                {
-                       print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " editmob command [arguments]"));
+                       print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " editmob <command> [<arguments>]"));
                        print_to(caller, "  Where 'command' can be butcher spawn skin movetarget kill name");
                        print_to(caller, "  spawn, skin, movetarget and name require 'arguments'");
                        print_to(caller, "  spawn also takes arguments list and random");
@@ -831,7 +831,7 @@ void CommonCommand_who(int request, entity caller, int argc)
                default:
                case CMD_REQUEST_USAGE:
                {
-                       print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " who [separator]"));
+                       print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " who [<separator>]"));
                        print_to(caller, "  Where 'separator' is the optional string to separate the values with, default is a space.");
                        return;
                }