Update CLUSTER NODES help message (#11341)
We will always show the bus-port, and if the node hostname exists, it will also show it.
This commit is contained in:
parent
f8e2279e3a
commit
ed4c432ec5
@ -5301,7 +5301,7 @@ void clusterCommand(client *c) {
|
|||||||
" Return the node id.",
|
" Return the node id.",
|
||||||
"NODES",
|
"NODES",
|
||||||
" Return cluster configuration seen by node. Output format:",
|
" Return cluster configuration seen by node. Output format:",
|
||||||
" <id> <ip:port> <flags> <master> <pings> <pongs> <epoch> <link> <slot> ...",
|
" <id> <ip:port@bus-port[,hostname]> <flags> <master> <pings> <pongs> <epoch> <link> <slot> ...",
|
||||||
"REPLICATE <node-id>",
|
"REPLICATE <node-id>",
|
||||||
" Configure current node as replica to <node-id>.",
|
" Configure current node as replica to <node-id>.",
|
||||||
"RESET [HARD|SOFT]",
|
"RESET [HARD|SOFT]",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user