Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
6d6e932f
Unverified
Commit
6d6e932f
authored
Jul 20, 2022
by
guybe7
Committed by
GitHub
Jul 20, 2022
Browse files
Adds LASTID to XCLAIM docs (#11017)
It seems it was overlooked when we first created the json files
parent
cc284813
Changes
2
Show whitespace changes
Inline
Side-by-side
src/commands.c
View file @
6d6e932f
...
@@ -6286,6 +6286,7 @@ struct redisCommandArg XCLAIM_Args[] = {
...
@@ -6286,6 +6286,7 @@ struct redisCommandArg XCLAIM_Args[] = {
{
"count"
,
ARG_TYPE_INTEGER
,
-
1
,
"RETRYCOUNT"
,
NULL
,
NULL
,
CMD_ARG_OPTIONAL
},
{
"count"
,
ARG_TYPE_INTEGER
,
-
1
,
"RETRYCOUNT"
,
NULL
,
NULL
,
CMD_ARG_OPTIONAL
},
{
"force"
,
ARG_TYPE_PURE_TOKEN
,
-
1
,
"FORCE"
,
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
},
{
"justid"
,
ARG_TYPE_PURE_TOKEN
,
-
1
,
"JUSTID"
,
NULL
,
NULL
,
CMD_ARG_OPTIONAL
},
{
"id"
,
ARG_TYPE_STRING
,
-
1
,
"LASTID"
,
NULL
,
NULL
,
CMD_ARG_OPTIONAL
},
{
0
}
{
0
}
};
};
...
...
src/commands/xclaim.json
View file @
6d6e932f
...
@@ -88,6 +88,12 @@
...
@@ -88,6 +88,12 @@
"token"
:
"JUSTID"
,
"token"
:
"JUSTID"
,
"type"
:
"pure-token"
,
"type"
:
"pure-token"
,
"optional"
:
true
"optional"
:
true
},
{
"name"
:
"id"
,
"token"
:
"LASTID"
,
"type"
:
"string"
,
"optional"
:
true
}
}
]
]
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment