From 3cc1b1cc407f02e9387fe1f0513c80b7976d4978 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 11 Feb 2021 01:55:22 +0100 Subject: [PATCH] Fix 'cmd records' description --- qcsrc/server/command/common.qc | 5 +++-- qcsrc/server/command/common.qh | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/qcsrc/server/command/common.qc b/qcsrc/server/command/common.qc index 8040742c8..181a920b3 100644 --- a/qcsrc/server/command/common.qc +++ b/qcsrc/server/command/common.qc @@ -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 []")); + print_to(caller, " Without arguments it prints all records for the current gametype,"); + print_to(caller, " otherwise it only prints page (50 records per page),"); return; } } diff --git a/qcsrc/server/command/common.qh b/qcsrc/server/command/common.qh index 3949b92ce..b16900a11 100644 --- a/qcsrc/server/command/common.qh +++ b/qcsrc/server/command/common.qh @@ -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); } -- 2.39.2