docs: fix key spec firstkey typos

This commit is contained in:
Lucas Ma 2026-05-14 21:33:44 +08:00
parent c3db5254b7
commit 772d2f26da
3 changed files with 3 additions and 3 deletions

View file

@ -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`.)
*

View file

@ -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

View file

@ -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. */