Adjust commands.json

This commit is contained in:
Alex Roitman 2019-04-25 14:22:25 -07:00
parent cbf10b7472
commit 5da63881c6
2 changed files with 22 additions and 62 deletions

View File

@ -359,12 +359,6 @@
"type": "integer", "type": "integer",
"optional": true "optional": true
}, },
{
"command": "TIMEOUT",
"name": "seconds",
"type": "double",
"optional": true
},
{ {
"command": "MATCH", "command": "MATCH",
"name": "pattern", "name": "pattern",
@ -456,12 +450,6 @@
"type": "integer", "type": "integer",
"optional": true "optional": true
}, },
{
"command": "TIMEOUT",
"name": "seconds",
"type": "double",
"optional": true
},
{ {
"command": "MATCH", "command": "MATCH",
"name": "pattern", "name": "pattern",
@ -571,12 +559,6 @@
"type": "integer", "type": "integer",
"optional": true "optional": true
}, },
{
"command": "TIMEOUT",
"name": "seconds",
"type": "double",
"optional": true
},
{ {
"command": "SPARSE", "command": "SPARSE",
"name": "spread", "name": "spread",
@ -743,12 +725,6 @@
"type": "integer", "type": "integer",
"optional": true "optional": true
}, },
{
"command": "TIMEOUT",
"name": "seconds",
"type": "double",
"optional": true
},
{ {
"command": "SPARSE", "command": "SPARSE",
"name": "spread", "name": "spread",
@ -970,12 +946,6 @@
"type": "integer", "type": "integer",
"optional": true "optional": true
}, },
{
"command": "TIMEOUT",
"name": "seconds",
"type": "double",
"optional": true
},
{ {
"command": "SPARSE", "command": "SPARSE",
"name": "spread", "name": "spread",
@ -1330,12 +1300,22 @@
"group": "connection" "group": "connection"
}, },
"TIMEOUT": { "TIMEOUT": {
"summary": "Gets or sets the query timeout for the current connection.", "summary": "Runs the following command with the timeout",
"arguments": [ "arguments": [
{ {
"name": "seconds", "name": "seconds",
"optional": true, "optional": true,
"type": "double" "type": "double"
},
{
"name": "COMMAND",
"type": "string"
},
{
"command": "arg",
"type": "string",
"multiple": true,
"optional": true
} }
], ],
"group": "connection" "group": "connection"

View File

@ -525,12 +525,6 @@ var commandsJSON = `{
"type": "integer", "type": "integer",
"optional": true "optional": true
}, },
{
"command": "TIMEOUT",
"name": "seconds",
"type": "double",
"optional": true
},
{ {
"command": "MATCH", "command": "MATCH",
"name": "pattern", "name": "pattern",
@ -622,12 +616,6 @@ var commandsJSON = `{
"type": "integer", "type": "integer",
"optional": true "optional": true
}, },
{
"command": "TIMEOUT",
"name": "seconds",
"type": "double",
"optional": true
},
{ {
"command": "MATCH", "command": "MATCH",
"name": "pattern", "name": "pattern",
@ -737,12 +725,6 @@ var commandsJSON = `{
"type": "integer", "type": "integer",
"optional": true "optional": true
}, },
{
"command": "TIMEOUT",
"name": "seconds",
"type": "double",
"optional": true
},
{ {
"command": "SPARSE", "command": "SPARSE",
"name": "spread", "name": "spread",
@ -909,12 +891,6 @@ var commandsJSON = `{
"type": "integer", "type": "integer",
"optional": true "optional": true
}, },
{
"command": "TIMEOUT",
"name": "seconds",
"type": "double",
"optional": true
},
{ {
"command": "SPARSE", "command": "SPARSE",
"name": "spread", "name": "spread",
@ -1136,12 +1112,6 @@ var commandsJSON = `{
"type": "integer", "type": "integer",
"optional": true "optional": true
}, },
{
"command": "TIMEOUT",
"name": "seconds",
"type": "double",
"optional": true
},
{ {
"command": "SPARSE", "command": "SPARSE",
"name": "spread", "name": "spread",
@ -1496,12 +1466,22 @@ var commandsJSON = `{
"group": "connection" "group": "connection"
}, },
"TIMEOUT": { "TIMEOUT": {
"summary": "Gets or sets the query timeout for the current connection.", "summary": "Runs the following command with the timeout",
"arguments": [ "arguments": [
{ {
"name": "seconds", "name": "seconds",
"optional": true, "optional": true,
"type": "double" "type": "double"
},
{
"name": "COMMAND",
"type": "string"
},
{
"command": "arg",
"type": "string",
"multiple": true,
"optional": true
} }
], ],
"group": "connection" "group": "connection"