From 772d2f26daf787321bba4e17f0ffa74536fa499e Mon Sep 17 00:00:00 2001 From: Lucas Ma <7184042+pony-maggie@users.noreply.github.com> Date: Thu, 14 May 2026 21:33:44 +0800 Subject: [PATCH] docs: fix key spec firstkey typos --- src/module.c | 2 +- src/redismodule.h | 2 +- src/server.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/module.c b/src/module.c index 0b1fb131d..496ad0713 100644 --- a/src/module.c +++ b/src/module.c @@ -1778,7 +1778,7 @@ int RM_SetCommandACLCategories(RedisModuleCommand *command, const char *aclflags * * `keynumidx`: Index of the argument containing the number of * keys to come, relative to the result of the begin search step. * - * * `firstkey`: Index of the fist key relative to the result of the + * * `firstkey`: Index of the first key relative to the result of the * begin search step. (Usually it's just after `keynumidx`, in * which case it should be set to `keynumidx + 1`.) * diff --git a/src/redismodule.h b/src/redismodule.h index d78b0e26d..753778266 100644 --- a/src/redismodule.h +++ b/src/redismodule.h @@ -460,7 +460,7 @@ typedef struct { /* Index of the argument containing the number of keys to come * relative to the result of the begin search step */ int keynumidx; - /* Index of the fist key. (Usually it's just after keynumidx, in + /* Index of the first key. (Usually it's just after keynumidx, in * which case it should be set to keynumidx + 1.) */ int firstkey; /* How many args should we skip after finding a key, in order to diff --git a/src/server.h b/src/server.h index 13d05ce0e..346d49a43 100644 --- a/src/server.h +++ b/src/server.h @@ -2742,7 +2742,7 @@ typedef struct { struct { /* Index of the argument containing the number of keys to come */ int keynumidx; - /* Index of the fist key (Usually it's just after keynumidx, in + /* Index of the first key (Usually it's just after keynumidx, in * which case it should be set to keynumidx+1). */ int firstkey; /* How many args should we skip after finding a key, in order to find the next one. */