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:
Binbin 2022-09-30 21:24:44 +08:00 committed by GitHub
parent f8e2279e3a
commit ed4c432ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5301,7 +5301,7 @@ void clusterCommand(client *c) {
" Return the node id.",
"NODES",
" 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>",
" Configure current node as replica to <node-id>.",
"RESET [HARD|SOFT]",