From 6d6e932fa6cce5a08aaf68a3d41946a1909a32a0 Mon Sep 17 00:00:00 2001 From: guybe7 Date: Wed, 20 Jul 2022 10:12:06 +0300 Subject: [PATCH] Adds LASTID to XCLAIM docs (#11017) It seems it was overlooked when we first created the json files --- src/commands.c | 1 + src/commands/xclaim.json | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/commands.c b/src/commands.c index f0bd067a5..c5ffae51b 100644 --- a/src/commands.c +++ b/src/commands.c @@ -6286,6 +6286,7 @@ struct redisCommandArg XCLAIM_Args[] = { {"count",ARG_TYPE_INTEGER,-1,"RETRYCOUNT",NULL,NULL,CMD_ARG_OPTIONAL}, {"force",ARG_TYPE_PURE_TOKEN,-1,"FORCE",NULL,NULL,CMD_ARG_OPTIONAL}, {"justid",ARG_TYPE_PURE_TOKEN,-1,"JUSTID",NULL,NULL,CMD_ARG_OPTIONAL}, +{"id",ARG_TYPE_STRING,-1,"LASTID",NULL,NULL,CMD_ARG_OPTIONAL}, {0} }; diff --git a/src/commands/xclaim.json b/src/commands/xclaim.json index 5dcf8d508..045610900 100644 --- a/src/commands/xclaim.json +++ b/src/commands/xclaim.json @@ -88,6 +88,12 @@ "token": "JUSTID", "type": "pure-token", "optional": true + }, + { + "name": "id", + "token": "LASTID", + "type": "string", + "optional": true } ] }