]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix 'cmd records' description
authorterencehill <piuntn@gmail.com>
Thu, 11 Feb 2021 00:55:22 +0000 (01:55 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 11 Feb 2021 00:55:22 +0000 (01:55 +0100)
qcsrc/server/command/common.qc
qcsrc/server/command/common.qh

index 8040742c8046118e8890cca4e0ddb1a2914fd3a2..181a920b3f157867da1a6ab5d103070d667dff8e 100644 (file)
@@ -598,8 +598,9 @@ void CommonCommand_records(int request, entity caller)
                default:
                case CMD_REQUEST_USAGE:
                {
-                       print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " records"));
-                       print_to(caller, "  No arguments required.");
+                       print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " records [<pagenum>]"));
+                       print_to(caller, "  Without arguments it prints all records for the current gametype,");
+                       print_to(caller, "  otherwise it only prints page <pagenum> (50 records per page),");
                        return;
                }
        }
index 3949b92ce936caef651c1a6d17f223c6c3ad9b78..b16900a110536786f93606fc47f23fc9c6e71fd8 100644 (file)
@@ -156,7 +156,7 @@ COMMON_COMMAND(ladder, "Get information about top players if supported") { Commo
 COMMON_COMMAND(lsmaps, "List maps which can be used with the current game mode") { CommonCommand_lsmaps(request, caller); }
 COMMON_COMMAND(printmaplist, "Display full server maplist reply") { CommonCommand_printmaplist(request, caller); }
 COMMON_COMMAND(rankings, "Print information about rankings") { CommonCommand_rankings(request, caller); }
-COMMON_COMMAND(records, "List top 10 records for the current map") { CommonCommand_records(request, caller); }
+COMMON_COMMAND(records, "Print records for the current gametype") { CommonCommand_records(request, caller); }
 COMMON_COMMAND(teamstatus, "Show information about player and team scores") { CommonCommand_teamstatus(request, caller); }
 COMMON_COMMAND(time, "Print different formats/readouts of time") { CommonCommand_time(request, caller); }
 COMMON_COMMAND(timein, "Resume the game from being paused with a timeout") { CommonCommand_timein(request, caller); }