summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
authorknggk <106696198+knggk@users.noreply.github.com>2023-01-10 02:09:51 -0500
committerGitHub <noreply@github.com>2023-01-10 09:09:51 +0200
commit44c67703724aece7e9ae69d907570fd6f5d836e9 (patch)
treec82b2e17114bbb716a419799bf8a343476ade2ac /src/commands.c
parent2bec254d89ff9266b2e688b15e34a3498da7c92c (diff)
downloadredis-44c67703724aece7e9ae69d907570fd6f5d836e9.tar.gz
Add minimum version information to new xsetid arguments (#11694)
the metadata for the new arguments of XSETID, entries-added and max-deleted-id, which have been added in Redis 7.0 was missing.
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.c b/src/commands.c
index 71e3e5abf..9098a77e5 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -6676,8 +6676,8 @@ commandHistory XSETID_History[] = {
struct redisCommandArg XSETID_Args[] = {
{"key",ARG_TYPE_KEY,0,NULL,NULL,NULL,CMD_ARG_NONE},
{"last-id",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_NONE},
-{"entries-added",ARG_TYPE_INTEGER,-1,"ENTRIESADDED",NULL,NULL,CMD_ARG_OPTIONAL},
-{"max-deleted-id",ARG_TYPE_STRING,-1,"MAXDELETEDID",NULL,NULL,CMD_ARG_OPTIONAL},
+{"entries-added",ARG_TYPE_INTEGER,-1,"ENTRIESADDED",NULL,"7.0.0",CMD_ARG_OPTIONAL},
+{"max-deleted-id",ARG_TYPE_STRING,-1,"MAXDELETEDID",NULL,"7.0.0",CMD_ARG_OPTIONAL},
{0}
};