summaryrefslogtreecommitdiff
path: root/src/sentinel.c
diff options
context:
space:
mode:
authorWen Hui <wen.hui.ware@gmail.com>2022-05-13 10:55:49 -0400
committerGitHub <noreply@github.com>2022-05-13 17:55:49 +0300
commit135998ed8d0fc92d7ee6e23b1a66353f5900695f (patch)
treebe9ccdbb1a7bb66ce83dd667efb6dbc63c57e718 /src/sentinel.c
parent586a16ad7907d9742a63cfcec464be7ac54aa495 (diff)
downloadredis-135998ed8d0fc92d7ee6e23b1a66353f5900695f.tar.gz
Update comments on command args, and a misleading error reply (#10645)
Updated the comments for: info command lmpopCommand and blmpopCommand sinterGenericCommand Fix the missing "key" words in the srandmemberCommand function For LPOS command, when rank is 0, prompt user that rank could be positive number or negative number, and add a test for it
Diffstat (limited to 'src/sentinel.c')
-rw-r--r--src/sentinel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sentinel.c b/src/sentinel.c
index 9ea78aae5..f819af11a 100644
--- a/src/sentinel.c
+++ b/src/sentinel.c
@@ -4127,7 +4127,7 @@ numargserr:
void addInfoSectionsToDict(dict *section_dict, char **sections);
-/* SENTINEL INFO [section] */
+/* INFO [<section> [<section> ...]] */
void sentinelInfoCommand(client *c) {
char *sentinel_sections[] = {"server", "clients", "cpu", "stats", "sentinel", NULL};
int sec_all = 0, sec_everything = 0;