From: terencehill Date: Wed, 10 Feb 2021 14:01:25 +0000 (+0100) Subject: Standardize command usage messages, part 2 (mostly arguments descriptions) X-Git-Tag: xonotic-v0.8.5~560^2~5 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=bb4d4ccf443c2aa9a1db059874b669810f70593f;p=xonotic%2Fxonotic-data.pk3dir.git Standardize command usage messages, part 2 (mostly arguments descriptions) --- diff --git a/qcsrc/client/command/cl_cmd.qc b/qcsrc/client/command/cl_cmd.qc index 2df0b8372..49683b50d 100644 --- a/qcsrc/client/command/cl_cmd.qc +++ b/qcsrc/client/command/cl_cmd.qc @@ -109,14 +109,14 @@ void LocalCommand_boxparticles(int request, int argc) { LOG_HELP( "Usage:^3 cl_cmd boxparticles \n" - " 'effectname' is the name of a particle effect in effectinfo.txt\n" - " 'owner' is the entity number of the owner (negative for csqc ent, positive for svqc ent)\n" - " 'org_from' is the starting origin of the box\n" - " 'org_to' is the ending origin of the box\n" - " 'dir_from' is the minimum velocity\n" - " 'dir_to' is the maximum velocity\n" - " 'countmultiplier' defines a multiplier for the particle count (affects count only, not countabsolute or trailspacing)\n" - " 'flags' can contain:\n" + " is the name of a particle effect in effectinfo.txt\n" + " is the entity number of the owner (negative for csqc ent, positive for svqc ent)\n" + " is the starting origin of the box\n" + " is the ending origin of the box\n" + " is the minimum velocity\n" + " is the maximum velocity\n" + " defines a multiplier for the particle count (affects count only, not countabsolute or trailspacing)\n" + " can contain:\n" " 1 to respect globals particles_alphamin, particles_alphamax (set right before via prvm_globalset client)\n" " 2 to respect globals particles_colormin, particles_colormax (set right before via prvm_globalset client)\n" " 4 to respect globals particles_fade (set right before via prvm_globalset client)\n" @@ -161,7 +161,7 @@ void LocalCommand_create_scrshot_ent(int request) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 cl_cmd create_scrshot_ent []"); - LOG_HELP(" Where 'path' can be the subdirectory of data/data in which the file is saved."); + LOG_HELP(" Where can be the subdirectory of data/data in which the file is saved."); return; } } @@ -191,7 +191,7 @@ void LocalCommand_debugmodel(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 cl_cmd debugmodel "); - LOG_HELP(" Where 'model' is a string of the model name to use for the debug model."); + LOG_HELP(" Where is a string of the model name to use for the debug model."); return; } } @@ -239,7 +239,7 @@ void LocalCommand_handlevote(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 cl_cmd handlevote "); - LOG_HELP(" Where 'vote' is the selection for either the current poll or uid2name."); + LOG_HELP(" Where is the selection for either the current poll or uid2name."); return; } } @@ -329,11 +329,11 @@ void LocalCommand_hud(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 cl_cmd hud [ | | ]"); - LOG_HELP(" Where 'action' is the command to complete,"); - LOG_HELP(" 'configname' is the name to save to for \"save\" action,"); - LOG_HELP(" 'radartoggle' is to maximize/minimize radar for \"radar\" action,"); - LOG_HELP(" and 'layout' is how to organize the scoreboard columns for \"scoreboard_columns_set\" action."); - LOG_HELP(" Full list of commands here: \"configure, quickmenu, minigame, save, scoreboard_columns_help, scoreboard_columns_set, radar.\""); + LOG_HELP(" Where is the command to complete,"); + LOG_HELP(" is the name to save to for 'save' action,"); + LOG_HELP(" is to maximize/minimize radar for 'radar' action,"); + LOG_HELP(" and is how to organize the scoreboard columns for 'scoreboard_columns_set' action."); + LOG_HELP(" Full list of commands here: configure, quickmenu, minigame, save, scoreboard_columns_help, scoreboard_columns_set, radar."); return; } } @@ -357,8 +357,8 @@ void LocalCommand_localprint(int request, int argc) LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0)); case CMD_REQUEST_USAGE: { - LOG_HELP("Usage:^3 cl_cmd localprint \"message\""); - LOG_HELP(" 'message' is the centerprint message to send to yourself."); + LOG_HELP("Usage:^3 cl_cmd localprint \"\""); + LOG_HELP(" is the centerprint message to send to yourself."); return; } } @@ -383,7 +383,7 @@ void LocalCommand_mv_download(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 cl_cmd mv_download "); - LOG_HELP(" Where 'mapid' is the id number of the map to request an image of on the map vote selection menu."); + LOG_HELP(" Where is the id number of the map to request an image of on the map vote selection menu."); return; } } @@ -418,7 +418,7 @@ void LocalCommand_sendcvar(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 cl_cmd sendcvar "); - LOG_HELP(" Where 'cvar' is the cvar to send to the server."); + LOG_HELP(" Where is the cvar to send to the server."); return; } } diff --git a/qcsrc/common/command/generic.qc b/qcsrc/common/command/generic.qc index f8189b9a4..5e339e85c 100644 --- a/qcsrc/common/command/generic.qc +++ b/qcsrc/common/command/generic.qc @@ -90,7 +90,7 @@ void GenericCommand_addtolist(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " addtolist "); - LOG_HELP(" Where 'cvar' is the cvar to add 'value' to."); + LOG_HELP(" Where is the cvar to add to."); LOG_HELP("See also: ^2removefromlist^7"); return; } @@ -304,9 +304,9 @@ void GenericCommand_maplist(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " maplist []"); - LOG_HELP(" Where 'action' is the command to complete,"); - LOG_HELP(" and 'map' is what it acts upon (for the 'add' and 'remove' actions)."); - LOG_HELP(" Full list of commands here: \"add, cleanup, remove, shuffle.\""); + LOG_HELP(" Where is the command to complete,"); + LOG_HELP(" and is what it acts upon (for the 'add' and 'remove' actions)."); + LOG_HELP(" Full list of commands here: add, cleanup, remove, shuffle."); return; } } @@ -326,7 +326,7 @@ void GenericCommand_nextframe(int request, string command) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " nextframe "); - LOG_HELP(" Where 'command' will be executed next frame of this VM"); + LOG_HELP(" Where will be executed next frame of this VM"); return; } } @@ -360,7 +360,7 @@ void GenericCommand_removefromlist(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " removefromlist "); - LOG_HELP(" Where 'cvar' is the cvar to remove 'value' from."); + LOG_HELP(" Where is the cvar to remove from."); LOG_HELP("See also: ^2addtolist^7"); return; } @@ -448,7 +448,7 @@ void GenericCommand_settemp(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " settemp \"\""); - LOG_HELP(" Where 'cvar' is the cvar you want to temporarily set with 'arguments'."); + LOG_HELP(" Where is the cvar you want to temporarily set with ."); LOG_HELP("See also: ^2settemp_restore^7"); return; } diff --git a/qcsrc/common/debug.qh b/qcsrc/common/debug.qh index af173c61e..f59038bb1 100644 --- a/qcsrc/common/debug.qh +++ b/qcsrc/common/debug.qh @@ -359,7 +359,7 @@ GENERIC_COMMAND(findent, "Search through entities for matching classname", false case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 " GetProgramCommandPrefix() " find "); - LOG_HELP(" Where 'classname' is the classname to search for."); + LOG_HELP(" Where is the classname to search for."); return; } } @@ -381,7 +381,8 @@ GENERIC_COMMAND(findat, "Search through entities for matching origin", false) LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0)); case CMD_REQUEST_USAGE: { - LOG_HELP("Usage:^3 " GetProgramCommandPrefix() " findat \"x y z\""); + LOG_HELP("Usage:^3 " GetProgramCommandPrefix() " findat "); + LOG_HELP(" Where is a vector \"x y z\""); return; } } diff --git a/qcsrc/common/effects/effectinfo.qc b/qcsrc/common/effects/effectinfo.qc index c0baddeb3..f4b0dbabc 100644 --- a/qcsrc/common/effects/effectinfo.qc +++ b/qcsrc/common/effects/effectinfo.qc @@ -314,7 +314,7 @@ GENERIC_COMMAND(dumpeffectinfo, "Dump all effectinfo to effectinfo_dump.txt", fa default: case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " dumpeffectinfo []"); - LOG_HELP(" Where 'filename' is the file to write (default is effectinfo_dump.txt),"); + LOG_HELP(" Where is the file to write (default is effectinfo_dump.txt),"); LOG_HELP(" if supplied with '-' output to console as well as default,"); LOG_HELP(" if left blank, it will only write to default."); return; diff --git a/qcsrc/common/notifications/all.qh b/qcsrc/common/notifications/all.qh index 009b76c0b..e5df01957 100644 --- a/qcsrc/common/notifications/all.qh +++ b/qcsrc/common/notifications/all.qh @@ -199,7 +199,7 @@ GENERIC_COMMAND(dumpnotifs, "Dump all notifications into notifications_dump.txt" case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " dumpnotifs []"); - LOG_HELP(" Where 'filename' is the file to write (default is notifications_dump.cfg),"); + LOG_HELP(" Where is the file to write (default is notifications_dump.cfg),"); LOG_HELP(" if supplied with '-' output to console as well as default,"); LOG_HELP(" if left blank, it will only write to default."); return; diff --git a/qcsrc/common/turrets/all.qh b/qcsrc/common/turrets/all.qh index d9f5ce867..9304bf025 100644 --- a/qcsrc/common/turrets/all.qh +++ b/qcsrc/common/turrets/all.qh @@ -101,7 +101,7 @@ GENERIC_COMMAND(dumpturrets, "Dump all turrets into turrets_dump.txt", false) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " dumpturrets []"); - LOG_HELP(" Where 'filename' is the file to write (default is turrets_dump.cfg),"); + LOG_HELP(" Where is the file to write (default is turrets_dump.cfg),"); LOG_HELP(" if supplied with '-' output to console as well as default,"); LOG_HELP(" if left blank, it will only write to default."); return; diff --git a/qcsrc/common/weapons/all.qc b/qcsrc/common/weapons/all.qc index c146bc3f3..11ac0641a 100644 --- a/qcsrc/common/weapons/all.qc +++ b/qcsrc/common/weapons/all.qc @@ -655,7 +655,7 @@ CLIENT_COMMAND(weapon_find, "Show spawn locations of a weapon") case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 cl_cmd weapon_find "); - LOG_HELP(" Where 'weapon' is the lowercase weapon name, 'all' or 'unowned'."); + LOG_HELP(" Where is the lowercase weapon name, 'all' or 'unowned'."); return; } } diff --git a/qcsrc/common/weapons/all.qh b/qcsrc/common/weapons/all.qh index 9ca40e73d..6b3f7577f 100644 --- a/qcsrc/common/weapons/all.qh +++ b/qcsrc/common/weapons/all.qh @@ -83,7 +83,7 @@ GENERIC_COMMAND(dumpweapons, "Dump all weapons into weapons_dump.txt", false) // case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " dumpweapons []"); - LOG_HELP(" Where 'filename' is the file to write (default is weapons_dump.cfg),"); + LOG_HELP(" Where is the file to write (default is weapons_dump.cfg),"); LOG_HELP(" if supplied with '-' output to console as well as default,"); LOG_HELP(" if left blank, it will only write to default."); return; diff --git a/qcsrc/menu/command/menu_cmd.qc b/qcsrc/menu/command/menu_cmd.qc index 6bab3ed8e..3b7304f31 100644 --- a/qcsrc/menu/command/menu_cmd.qc +++ b/qcsrc/menu/command/menu_cmd.qc @@ -46,10 +46,10 @@ void GameCommand(string theCommand) if (argv(0) == "help" || argc == 0) { LOG_HELP(_("Usage:^3 menu_cmd [], where possible commands are:")); - LOG_HELP(_(" 'sync' reloads all cvars on the current menu page")); - LOG_HELP(_(" 'directmenu' shows the menu window named 'item' (or the menu window containing an item named 'item')")); - LOG_HELP(_(" if 'item' is not specified it shows the list of available items in the console")); - LOG_HELP(_(" 'dumptree' dumps the state of the menu as a tree to the console")); + LOG_HELP(_(" reloads all cvars on the current menu page")); + LOG_HELP(_(" shows the menu window named (or the menu window containing an item named 'item')")); + LOG_HELP(_(" if is not specified it shows the list of available items in the console")); + LOG_HELP(_(" dumps the state of the menu as a tree to the console")); LOG_HELP("\nGeneric commands shared by all programs:"); GenericCommand_macro_help(); diff --git a/qcsrc/server/cheats.qc b/qcsrc/server/cheats.qc index edf15e473..a66726428 100644 --- a/qcsrc/server/cheats.qc +++ b/qcsrc/server/cheats.qc @@ -310,8 +310,8 @@ float CheatCommand(entity this, int argc) break; } sprint(this, "Usage:^3 sv_cheats 1; restart; cmd pointparticles \n"); - sprint(this, " Where 'position' is a number from 0 to 1 representing distance on the crosshair line,\n"); - sprint(this, " and 'velocity' is a vector \"x y z\"\n"); + sprint(this, " Where is a number from 0 to 1 representing distance on the crosshair line,\n"); + sprint(this, " and is a vector \"x y z\"\n"); break; case "trailparticles": IS_CHEAT(this, 0, argc, 0); @@ -372,7 +372,7 @@ float CheatCommand(entity this, int argc) else { sprint(this, "Usage:^3 sv_cheats 1; restart; cmd make \n"); - sprint(this, " where 'mode' can be 0, 1 or 2\n"); + sprint(this, " where can be 0, 1 or 2\n"); } break; case "penalty": diff --git a/qcsrc/server/command/banning.qc b/qcsrc/server/command/banning.qc index 728c344a1..a73b09646 100644 --- a/qcsrc/server/command/banning.qc +++ b/qcsrc/server/command/banning.qc @@ -42,9 +42,9 @@ void BanCommand_ban(int request, int argc, string command) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd ban
[] []"); - LOG_HELP(" 'address' is the IP address or range of the player to ban,"); - LOG_HELP(" 'bantime' is the amount of time that the ban is active (default if not provided),"); - LOG_HELP(" and 'reason' is the string to label the ban with as reason for banning."); + LOG_HELP("
is the IP address or range of the player to ban,"); + LOG_HELP(" is the amount of time that the ban is active (default if not provided),"); + LOG_HELP(" and is the string to label the ban with as reason for banning."); LOG_HELP("See also: ^2banlist, kickban, unban^7"); return; } @@ -109,10 +109,10 @@ void BanCommand_kickban(int request, int argc, string command) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd kickban [] [] []"); - LOG_HELP(" 'client' is the entity number or name of the player to ban,"); - LOG_HELP(" 'bantime' is the amount of time that the ban is active (default if not provided),"); - LOG_HELP(" 'masksize' is the range of the IP address (1-thru-4, default if not provided),"); - LOG_HELP(" and 'reason' is the string to label the ban with as reason for banning."); + LOG_HELP(" is the entity number or name of the player to ban,"); + LOG_HELP(" is the amount of time that the ban is active (default if not provided),"); + LOG_HELP(" is the range of the IP address (1-thru-4, default if not provided),"); + LOG_HELP(" and is the string to label the ban with as reason for banning."); LOG_HELP("See also: ^2ban, banlist, unban^7"); return; } @@ -147,7 +147,7 @@ void BanCommand_mute(int request, int argc, string command) // TODO: Add a sort case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd mute "); - LOG_HELP(" 'client' is the entity number or name of the player to mute."); + LOG_HELP(" is the entity number or name of the player to mute."); LOG_HELP("See also: ^2unmute^7"); return; } @@ -193,7 +193,7 @@ void BanCommand_unban(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd unban "); - LOG_HELP(" Where 'banid' is the ID of the ban of which to remove."); + LOG_HELP(" Where is the ID of the ban of which to remove."); LOG_HELP("See also: ^2ban, banlist, kickban^7"); return; } @@ -228,7 +228,7 @@ void BanCommand_unmute(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd unmute "); - LOG_HELP(" 'client' is the entity number or name of the player to unmute."); + LOG_HELP(" is the entity number or name of the player to unmute."); LOG_HELP("See also: ^2mute^7"); return; } diff --git a/qcsrc/server/command/cmd.qc b/qcsrc/server/command/cmd.qc index b9acbfddf..1b2959f40 100644 --- a/qcsrc/server/command/cmd.qc +++ b/qcsrc/server/command/cmd.qc @@ -84,7 +84,7 @@ void ClientCommand_autoswitch(entity caller, int request, int argc) case CMD_REQUEST_USAGE: { sprint(caller, "\nUsage:^3 cmd autoswitch \n"); - sprint(caller, " Where 'selection' controls if autoswitch is on or off.\n"); + sprint(caller, " Where controls if autoswitch is on or off.\n"); return; } } @@ -127,7 +127,7 @@ void ClientCommand_clientversion(entity caller, int request, int argc) // inter case CMD_REQUEST_USAGE: { sprint(caller, "\nUsage:^3 cmd clientversion \n"); - sprint(caller, " Where 'version' is the game version reported by caller.\n"); + sprint(caller, " Where is the game version reported by caller.\n"); return; } } @@ -152,7 +152,7 @@ void ClientCommand_mv_getpicture(entity caller, int request, int argc) // inter case CMD_REQUEST_USAGE: { sprint(caller, "\nUsage:^3 cmd mv_getpicture \n"); - sprint(caller, " Where 'mapid' is the id number of the map to request an image of on the map vote selection menu.\n"); + sprint(caller, " Where is the id number of the map to request an image of on the map vote selection menu.\n"); return; } } @@ -242,7 +242,7 @@ void ClientCommand_wpeditor(entity caller, int request, int argc) case CMD_REQUEST_USAGE: { sprint(caller, "\nUsage:^3 cmd wpeditor \n"); - sprint(caller, " Where 'action' can be:\n"); + sprint(caller, " Where can be:\n"); sprint(caller, " ^2spawn^7: spawns a waypoint at player's position\n"); sprint(caller, " ^2remove^7: removes player's nearest waypoint\n"); sprint(caller, " ^2unreachable^7: reveals waypoints and items unreachable from the current position and spawnpoints without a nearest waypoint\n"); @@ -429,7 +429,7 @@ void ClientCommand_say(entity caller, int request, int argc, string command) case CMD_REQUEST_USAGE: { sprint(caller, "\nUsage:^3 cmd say \n"); - sprint(caller, " Where 'message' is the string of text to say.\n"); + sprint(caller, " Where is the string of text to say.\n"); return; } } @@ -450,7 +450,7 @@ void ClientCommand_say_team(entity caller, int request, int argc, string command case CMD_REQUEST_USAGE: { sprint(caller, "\nUsage:^3 cmd say_team \n"); - sprint(caller, " Where 'message' is the string of text to say.\n"); + sprint(caller, " Where is the string of text to say.\n"); return; } } @@ -529,8 +529,8 @@ void ClientCommand_selectteam(entity caller, int request, int argc) case CMD_REQUEST_USAGE: { sprint(caller, "\nUsage:^3 cmd selectteam \n"); - sprint(caller, " Where 'team' is the prefered team to try and join.\n"); - sprint(caller, " Full list of options here: \"red, blue, yellow, pink, auto\"\n"); + sprint(caller, " Where is the prefered team to try and join.\n"); + sprint(caller, " Full list of options here: red, blue, yellow, pink, auto.\n"); return; } } @@ -554,7 +554,7 @@ void ClientCommand_selfstuff(entity caller, int request, string command) case CMD_REQUEST_USAGE: { sprint(caller, "\nUsage:^3 cmd selfstuff \n"); - sprint(caller, " Where 'command' is the string to be stuffed to your client.\n"); + sprint(caller, " Where is the string to be stuffed to your client.\n"); return; } } @@ -588,7 +588,7 @@ void ClientCommand_sentcvar(entity caller, int request, int argc, string command case CMD_REQUEST_USAGE: { sprint(caller, "\nUsage:^3 cmd sentcvar \n"); - sprint(caller, " Where 'cvar' is the cvar plus arguments to send to the server.\n"); + sprint(caller, " Where is the cvar plus arguments to send to the server.\n"); return; } } @@ -638,7 +638,7 @@ void ClientCommand_spectate(entity caller, int request) case CMD_REQUEST_USAGE: { sprint(caller, "\nUsage:^3 cmd spectate []\n"); - sprint(caller, " Where 'client' can be the player to spectate.\n"); + sprint(caller, " Where can be the player to spectate.\n"); return; } } @@ -662,7 +662,7 @@ void ClientCommand_suggestmap(entity caller, int request, int argc) case CMD_REQUEST_USAGE: { sprint(caller, "\nUsage:^3 cmd suggestmap \n"); - sprint(caller, " Where 'map' is the name of the map to suggest.\n"); + sprint(caller, " Where is the name of the map to suggest.\n"); return; } } @@ -719,7 +719,7 @@ void ClientCommand_tell(entity caller, int request, int argc, string command) case CMD_REQUEST_USAGE: { sprint(caller, "\nUsage:^3 cmd tell \n"); - sprint(caller, " Where 'client' is the entity number or name of the player to send 'message' to.\n"); + sprint(caller, " Where is the entity number or name of the player to send to.\n"); return; } } @@ -765,9 +765,9 @@ void ClientCommand_voice(entity caller, int request, int argc, string command) case CMD_REQUEST_USAGE: { sprint(caller, "\nUsage:^3 cmd voice []\n"); - sprint(caller, " 'voicetype' is the type of voice message, it can be one of these:\n"); + sprint(caller, " is the type of voice message, it can be one of these:\n"); sprint(caller, sprintf(" %s\n", allvoicesamples)); - sprint(caller, " and 'message' is the text message to send.\n"); + sprint(caller, " and is the text message to send.\n"); return; } } diff --git a/qcsrc/server/command/common.qc b/qcsrc/server/command/common.qc index 34088bd9d..8040742c8 100644 --- a/qcsrc/server/command/common.qc +++ b/qcsrc/server/command/common.qc @@ -464,8 +464,8 @@ void CommonCommand_editmob(int request, entity caller, int argc) case CMD_REQUEST_USAGE: { print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " editmob []")); - 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, " Where can be butcher spawn skin movetarget kill name"); + print_to(caller, " spawn, skin, movetarget and name require "); print_to(caller, " spawn also takes arguments list and random"); print_to(caller, " Monster will follow owner if third argument of spawn command is not defined"); return; @@ -490,8 +490,8 @@ void CommonCommand_info(int request, entity caller, int argc) default: case CMD_REQUEST_USAGE: { - print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " info request")); - print_to(caller, " Where 'request' is the suffixed string appended onto the request for cvar."); + print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " info ")); + print_to(caller, " Where is the suffixed string appended onto the request for cvar."); return; } } @@ -832,7 +832,7 @@ void CommonCommand_who(int request, entity caller, int argc) case CMD_REQUEST_USAGE: { print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " who []")); - print_to(caller, " Where 'separator' is the optional string to separate the values with, default is a space."); + print_to(caller, " Where is the optional string to separate the values with, default is a space."); return; } } diff --git a/qcsrc/server/command/sv_cmd.qc b/qcsrc/server/command/sv_cmd.qc index a8f83956e..111fc1878 100644 --- a/qcsrc/server/command/sv_cmd.qc +++ b/qcsrc/server/command/sv_cmd.qc @@ -145,8 +145,8 @@ void GameCommand_adminmsg(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd adminmsg \"\" []"); - LOG_HELP(" 'clients' is a list (separated by commas) of player entity ID's or nicknames"); - LOG_HELP(" If infobartime is provided, the message will be sent to infobar."); + LOG_HELP(" is a list (separated by commas) of player entity ID's or nicknames"); + LOG_HELP(" If is provided, the message will be sent to infobar."); LOG_HELP(" Otherwise, it will just be sent as a centerprint message."); LOG_HELP("Examples: adminmsg 2,4 \"this infomessage will last for ten seconds\" 10"); LOG_HELP(" adminmsg 2,5 \"this message will be a centerprint\""); @@ -197,7 +197,7 @@ void GameCommand_allspec(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd allspec []"); - LOG_HELP(" Where 'reason' is an optional argument for explanation of allspec command."); + LOG_HELP(" Where is an optional argument for explanation of allspec command."); LOG_HELP("See also: ^2moveplayer, shuffleteams^7"); return; } @@ -229,7 +229,7 @@ void GameCommand_anticheat(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd anticheat "); - LOG_HELP(" 'client' is the entity number or name of the player."); + LOG_HELP(" is the entity number or name of the player."); return; } } @@ -431,7 +431,7 @@ void GameCommand_bot_cmd(int request, int argc, string command) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd bot_cmd []"); - LOG_HELP(" 'client' can be either the name of the bot or a progressive number (not the entity number!)"); + LOG_HELP(" can be either the name of the bot or a progressive number (not the entity number!)"); LOG_HELP(" can also be '*' or 'all' to allow sending the command to all the bots"); LOG_HELP(" For full list of commands, see bot_cmd help []."); LOG_HELP("Examples: sv_cmd bot_cmd 1 cc \"say something\""); @@ -460,7 +460,7 @@ void GameCommand_cointoss(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd cointoss [ ]"); - LOG_HELP(" Where 'result1' and 'result2' are user created options."); + LOG_HELP(" Where and are user created options."); return; } } @@ -501,9 +501,9 @@ void GameCommand_database(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd database "); - LOG_HELP(" Where 'action' is the command to complete,"); - LOG_HELP(" and 'filename' is what it acts upon."); - LOG_HELP(" Full list of commands here: \"save, dump, load.\""); + LOG_HELP(" Where is the command to complete,"); + LOG_HELP(" and is what it acts upon."); + LOG_HELP(" Full list of commands here: save, dump, load."); return; } } @@ -539,7 +539,7 @@ void GameCommand_defer_clear(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd defer_clear "); - LOG_HELP(" 'client' is the entity number or name of the player."); + LOG_HELP(" is the entity number or name of the player."); LOG_HELP("See also: ^2defer_clear_all^7"); return; } @@ -594,9 +594,9 @@ void GameCommand_delrec(int request, int argc) // perhaps merge later with reco case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd delrec []"); - LOG_HELP(" 'ranking' is which ranking level to clear up to, "); + LOG_HELP(" is which ranking level to clear up to, "); LOG_HELP(" it will clear all records up to nth place."); - LOG_HELP(" if 'map' is not provided it will use current map."); + LOG_HELP(" if is not provided it will use current map."); return; } } @@ -752,7 +752,7 @@ void GameCommand_gametype(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd gametype "); - LOG_HELP(" Where 'mode' is the gametype mode to switch to."); + LOG_HELP(" Where is the gametype mode to switch to."); LOG_HELP("See also: ^2gotomap^7"); return; } @@ -901,7 +901,7 @@ void GameCommand_gotomap(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd gotomap "); - LOG_HELP(" Where 'map' is the *.bsp file to change to."); + LOG_HELP(" Where is the *.bsp file to change to."); LOG_HELP("See also: ^2gametype^7"); return; } @@ -1098,9 +1098,9 @@ void GameCommand_moveplayer(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd moveplayer "); - LOG_HELP(" 'clients' is a list (separated by commas) of player entity ID's or nicknames"); - LOG_HELP(" 'destination' is what to send the player to, be it team or spectating"); - LOG_HELP(" Full list of destinations here: \"spec, spectator, red, blue, yellow, pink, auto.\""); + LOG_HELP(" is a list (separated by commas) of player entity ID's or nicknames"); + LOG_HELP(" is what to send the player to, be it team or spectating"); + LOG_HELP(" Full list of destinations here: spec, spectator, red, blue, yellow, pink, auto."); LOG_HELP("Examples: sv_cmd moveplayer 1,3,5 red"); LOG_HELP(" sv_cmd moveplayer 2 spec"); LOG_HELP("See also: ^2allspec, shuffleteams^7"); @@ -1223,7 +1223,7 @@ void GameCommand_setbots(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd setbots "); - LOG_HELP(" Where 'botnumber' is the amount of bots to set bot_number cvar to."); + LOG_HELP(" Where is the amount of bots to set bot_number cvar to."); LOG_HELP("See also: ^2bot_cmd^7"); return; } @@ -1334,8 +1334,8 @@ void GameCommand_stuffto(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd stuffto \"\""); - LOG_HELP(" 'client' is the entity number or name of the player,"); - LOG_HELP(" and 'command' is the command to be sent to that player."); + LOG_HELP(" is the entity number or name of the player,"); + LOG_HELP(" and is the command to be sent to that player."); return; } } @@ -1506,7 +1506,7 @@ void GameCommand_trace(int request, int argc) } } - // no default case, just go straight to invalid + // no default case, just go straight to invalid } } @@ -1515,9 +1515,9 @@ void GameCommand_trace(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd trace [ ] []"); - LOG_HELP(" Where startpos and endpos are parameters for the 'walk' and 'showline' commands,"); - LOG_HELP(" 'endpos_height' is an optional parameter for the 'walk' command,"); - LOG_HELP(" Full list of commands here: \"debug, debug2, walk, showline.\""); + LOG_HELP(" Where and are parameters for the 'walk' and 'showline' commands,"); + LOG_HELP(" is an optional parameter for the 'walk' command,"); + LOG_HELP(" Full list of commands here: debug, debug2, walk, showline."); LOG_HELP("See also: ^2bbox, gettaginfo^7"); return; } @@ -1583,8 +1583,8 @@ void GameCommand_warp(int request, int argc) case CMD_REQUEST_USAGE: { LOG_HELP("Usage:^3 sv_cmd warp []"); - LOG_HELP(" 'level' is the level to change campaign mode to."); - LOG_HELP(" if 'level' is not provided it will change to the next level."); + LOG_HELP(" is the level to change campaign mode to."); + LOG_HELP(" if is not provided it will change to the next level."); return; } } diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index 489810908..2c915863e 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -898,7 +898,7 @@ void VoteCommand_call(int request, entity caller, int argc, string vote_command) case CMD_REQUEST_USAGE: { print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " vote call ")); - print_to(caller, " Where 'command' is the command to request a vote upon."); + print_to(caller, " Where is the command to request a vote upon."); print_to(caller, strcat("Examples: ", GetCommandPrefix(caller), " vote call gotomap dance")); print_to(caller, strcat(" ", GetCommandPrefix(caller), " vote call endmatch")); return; @@ -1014,8 +1014,8 @@ void VoteCommand_master(int request, entity caller, int argc, string vote_comman case CMD_REQUEST_USAGE: { print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " vote master [ [ | ]]")); - print_to(caller, " If 'action' is left blank, it calls a vote for you to become master."); - print_to(caller, " Otherwise it can be either 'do' (to run 'command') or 'login' as master."); + print_to(caller, " If is left blank, it calls a vote for you to become master."); + print_to(caller, " Otherwise it can be either 'do' (to run ) or 'login' as master."); return; } }