From de46e1a511ca87499613bbfcb3779ee5bb4be93d Mon Sep 17 00:00:00 2001 From: siddontang Date: Mon, 29 Sep 2014 14:19:42 +0800 Subject: [PATCH] update doc --- cmd/ledis-cli/const.go | 6 +++--- doc/commands.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/ledis-cli/const.go b/cmd/ledis-cli/const.go index 842866b..b89e757 100644 --- a/cmd/ledis-cli/const.go +++ b/cmd/ledis-cli/const.go @@ -1,4 +1,4 @@ -//This file was generated by .tools/generate_commands.py on Thu Sep 25 2014 09:51:10 +0800 +//This file was generated by .tools/generate_commands.py on Mon Sep 29 2014 14:19:33 +0800 package main var helpCommands = [][]string{ @@ -86,7 +86,7 @@ var helpCommands = [][]string{ {"SINTER", "key [key ...]", "Set"}, {"SINTERSTORE", "destination key [key ...]", "Set"}, {"SISMEMBER", "key member", "Set"}, - {"SLAVEOF", "host port", "Replication"}, + {"SLAVEOF", "host port [restart]", "Replication"}, {"SMCLEAR", "key [key ...]", "Set"}, {"SMEMBERS", "key", "Set"}, {"SPERSIST", "key", "Set"}, @@ -95,7 +95,7 @@ var helpCommands = [][]string{ {"SUNION", "key [key ...]", "Set"}, {"SUNIONSTORE", "destination key [key ...]", "Set"}, {"SXSCAN", "key [MATCH match] [COUNT count]", "Set"}, - {"SYNC", "index offset", "Replication"}, + {"SYNC", "logid", "Replication"}, {"TTL", "key", "KV"}, {"XSCAN", "key [MATCH match] [COUNT count]", "KV"}, {"ZADD", "key score member [score member ...]", "ZSet"}, diff --git a/doc/commands.json b/doc/commands.json index 828186d..6ed95bd 100644 --- a/doc/commands.json +++ b/doc/commands.json @@ -301,12 +301,12 @@ "readonly": false }, "SLAVEOF": { - "arguments": "host port", + "arguments": "host port [restart]", "group": "Replication", "readonly": false }, "SYNC": { - "arguments": "index offset", + "arguments": "logid", "group": "Replication", "readonly": false },