Skip to content

Commit 928bf6e

Browse files
authored
update commands spec (args) from 7.2.2 (redis#2570)
see redis/redis#12633
1 parent f5514bf commit 928bf6e

File tree

1 file changed

+76
-16
lines changed

1 file changed

+76
-16
lines changed

commands.json

Lines changed: 76 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11073,14 +11073,44 @@
1107311073
"arity": 3,
1107411074
"arguments": [
1107511075
{
11076-
"name": "host",
11077-
"type": "string",
11078-
"display_text": "host"
11079-
},
11080-
{
11081-
"name": "port",
11082-
"type": "integer",
11083-
"display_text": "port"
11076+
"name": "args",
11077+
"type": "oneof",
11078+
"arguments": [
11079+
{
11080+
"name": "host-port",
11081+
"type": "block",
11082+
"arguments": [
11083+
{
11084+
"name": "host",
11085+
"type": "string",
11086+
"display_text": "host"
11087+
},
11088+
{
11089+
"name": "port",
11090+
"type": "integer",
11091+
"display_text": "port"
11092+
}
11093+
]
11094+
},
11095+
{
11096+
"name": "no-one",
11097+
"type": "block",
11098+
"arguments": [
11099+
{
11100+
"name": "no",
11101+
"type": "pure-token",
11102+
"display_text": "no",
11103+
"token": "NO"
11104+
},
11105+
{
11106+
"name": "one",
11107+
"type": "pure-token",
11108+
"display_text": "one",
11109+
"token": "ONE"
11110+
}
11111+
]
11112+
}
11113+
]
1108411114
}
1108511115
],
1108611116
"command_flags": [
@@ -12743,14 +12773,44 @@
1274312773
"arity": 3,
1274412774
"arguments": [
1274512775
{
12746-
"name": "host",
12747-
"type": "string",
12748-
"display_text": "host"
12749-
},
12750-
{
12751-
"name": "port",
12752-
"type": "integer",
12753-
"display_text": "port"
12776+
"name": "args",
12777+
"type": "oneof",
12778+
"arguments": [
12779+
{
12780+
"name": "host-port",
12781+
"type": "block",
12782+
"arguments": [
12783+
{
12784+
"name": "host",
12785+
"type": "string",
12786+
"display_text": "host"
12787+
},
12788+
{
12789+
"name": "port",
12790+
"type": "integer",
12791+
"display_text": "port"
12792+
}
12793+
]
12794+
},
12795+
{
12796+
"name": "no-one",
12797+
"type": "block",
12798+
"arguments": [
12799+
{
12800+
"name": "no",
12801+
"type": "pure-token",
12802+
"display_text": "no",
12803+
"token": "NO"
12804+
},
12805+
{
12806+
"name": "one",
12807+
"type": "pure-token",
12808+
"display_text": "one",
12809+
"token": "ONE"
12810+
}
12811+
]
12812+
}
12813+
]
1275412814
}
1275512815
],
1275612816
"command_flags": [

0 commit comments

Comments
 (0)