mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
Update utils/generate-command-code.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
4a2e021e9e
commit
d95dfcc8c3
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ class Argument(object):
|
|||
s += "CMD_ARG_MULTIPLE|"
|
||||
if self.desc.get("multiple_token", False):
|
||||
assert self.desc.get("multiple", False) # Sanity
|
||||
assert self.desc.get("token", None)
|
||||
assert "token" in self.desc
|
||||
s += "CMD_ARG_MULTIPLE_TOKEN|"
|
||||
return s[:-1] if s else "CMD_ARG_NONE"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue