update FSET args

This commit is contained in:
Josh Baker 2017-11-16 18:19:07 -07:00
parent fb6c29203b
commit 89662d9c89
2 changed files with 25 additions and 12 deletions

View File

@ -182,10 +182,15 @@
"type": [], "type": [],
"optional": true "optional": true
}, },
{
"name": ["field","value"],
"type": ["string","double"]
},
{ {
"name": ["field","value"], "name": ["field","value"],
"type": ["string","double"], "type": ["string","double"],
"multiple": true "multiple": true,
"optional": true
} }
], ],
"since": "1.0.0", "since": "1.0.0",

View File

@ -331,7 +331,7 @@ var commandsJSON = `{
"group": "keys" "group": "keys"
}, },
"FSET": { "FSET": {
"summary": "Set the value for a single field of an id", "summary": "Set the value for one or more fields of an id",
"complexity": "O(1)", "complexity": "O(1)",
"arguments":[ "arguments":[
{ {
@ -343,12 +343,20 @@ var commandsJSON = `{
"type": "string" "type": "string"
}, },
{ {
"name": "field", "command": "XX",
"type": "string" "name": [],
"type": [],
"optional": true
}, },
{ {
"name": "value", "name": ["field","value"],
"type": "double" "type": ["string","double"]
},
{
"name": ["field","value"],
"type": ["string","double"],
"multiple": true,
"optional": true
} }
], ],
"since": "1.0.0", "since": "1.0.0",