diff options
author | guybe7 <guy.benoish@redislabs.com> | 2022-07-20 10:12:06 +0300 |
---|---|---|
committer | Oran Agra <oran@redislabs.com> | 2022-09-21 22:42:01 +0300 |
commit | 9e3dfa96f740caeb45f1ca8d943096589a297568 (patch) | |
tree | bdd4adda4177606303a1bacc1305e3d2f1abc45e | |
parent | d28314cb03bd46bdd6b40f5256b176ee0405419a (diff) | |
download | redis-9e3dfa96f740caeb45f1ca8d943096589a297568.tar.gz |
Adds LASTID to XCLAIM docs (#11017)
It seems it was overlooked when we first created the json files
(cherry picked from commit 6d6e932fa6cce5a08aaf68a3d41946a1909a32a0)
-rw-r--r-- | src/commands.c | 1 | ||||
-rw-r--r-- | src/commands/xclaim.json | 6 |
2 files changed, 7 insertions, 0 deletions
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 } ] } |