]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix 'cmd records' description, part 2: don't specify number or records per page as...
authorterencehill <piuntn@gmail.com>
Sat, 13 Feb 2021 15:36:02 +0000 (16:36 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 13 Feb 2021 15:36:02 +0000 (16:36 +0100)
qcsrc/server/command/common.qc
qcsrc/server/command/getreplies.qc

index 181a920b3f157867da1a6ab5d103070d667dff8e..8d320437af013a7ce660d71efa63aaf563bd2e47 100644 (file)
@@ -599,8 +599,8 @@ void CommonCommand_records(int request, entity caller)
                case CMD_REQUEST_USAGE:
                {
                        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),");
+                       print_to(caller, "  Without arguments it prints all records (all pages) for the current gametype,");
+                       print_to(caller, "  otherwise if there are multiple pages it only prints page <pagenum> (1..10),");
                        return;
                }
        }
index 1001bb7d7d9bd1f1602bb4fbb37e6fbb046c80dc..913bb696dd3d36c9fe06889a2c0725363205627e 100644 (file)
@@ -32,7 +32,7 @@
 
 // See common.qc for their proper commands
 
-string getrecords(int page)  // 50 records per page
+string getrecords(int page)
 {
        string s = "";