]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Improve description of sv_cmd trace command
authorterencehill <piuntn@gmail.com>
Fri, 9 Jun 2017 10:21:57 +0000 (12:21 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 9 Jun 2017 10:21:57 +0000 (12:21 +0200)
qcsrc/server/command/sv_cmd.qc

index 398b4c2c7cbda6581e9a55a77bba8fa6543e3114..92bb25bec635fca06ea55f18fe9f4b8cb65e22e1 100644 (file)
@@ -1596,7 +1596,9 @@ void GameCommand_trace(float request, float argc)
                        LOG_INFO("Incorrect parameters for ^2trace^7\n");
                case CMD_REQUEST_USAGE:
                {
-                       LOG_INFO("\nUsage:^3 sv_cmd trace command (startpos endpos)\n");
+                       LOG_INFO("\nUsage:^3 sv_cmd trace command [startpos endpos] [endpos_height]\n");
+                       LOG_INFO("  Where startpos and endpos are parameters for 'walk' and 'showline' commands,\n");
+                       LOG_INFO("  'endpos_height' is an optional parameter for 'walk' command,\n");
                        LOG_INFO("  Full list of commands here: \"debug, debug2, walk, showline.\"\n");
                        LOG_INFO("See also: ^2bbox, gettaginfo^7\n");
                        return;