diff options
author | hwware <wen.hui.ware@gmail.com> | 2020-03-20 02:40:54 -0400 |
---|---|---|
committer | hwware <wen.hui.ware@gmail.com> | 2020-03-20 09:01:12 -0400 |
commit | 93bb42a0b568cb3dbddf9fb6b4dd7f3a8e0240fc (patch) | |
tree | fad65a627a72f5f545bb2901805c37e80d94e92d | |
parent | c1295bb9f1234f2a3dd3c1bf76eb5afcf8cf711a (diff) | |
download | redis-93bb42a0b568cb3dbddf9fb6b4dd7f3a8e0240fc.tar.gz |
add missing commands in cluster help
-rw-r--r-- | src/cluster.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c index 5f63d2b8f..72755823a 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -4261,7 +4261,7 @@ void clusterCommand(client *c) { "FORGET <node-id> -- Remove a node from the cluster.", "GETKEYSINSLOT <slot> <count> -- Return key names stored by current node in a slot.", "FLUSHSLOTS -- Delete current node own slots information.", -"INFO - Return onformation about the cluster.", +"INFO - Return information about the cluster.", "KEYSLOT <key> -- Return the hash slot for <key>.", "MEET <ip> <port> [bus-port] -- Connect nodes into a working cluster.", "MYID -- Return the node id.", @@ -4272,6 +4272,7 @@ void clusterCommand(client *c) { "SET-config-epoch <epoch> - Set config epoch of current node.", "SETSLOT <slot> (importing|migrating|stable|node <node-id>) -- Set slot state.", "REPLICAS <node-id> -- Return <node-id> replicas.", +"SAVECONFIG - Force saving cluster configuration on disk.", "SLOTS -- Return information about slots range mappings. Each range is made of:", " start, end, master and replicas IP addresses, ports and ids", NULL |