diff options
author | Binbin <binloveplay1314@qq.com> | 2022-09-30 21:24:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 06:24:44 -0700 |
commit | ed4c432ec55a292044e1c7e2a7ff093784e07bb5 (patch) | |
tree | 43a575f63e55422e525e416237b4038b1e85b02f /src/cluster.c | |
parent | f8e2279e3a32d0fc88c09def807fe8a4b03771b2 (diff) | |
download | redis-ed4c432ec55a292044e1c7e2a7ff093784e07bb5.tar.gz |
Update CLUSTER NODES help message (#11341)
We will always show the bus-port, and if the node hostname exists, it will also show it.
Diffstat (limited to 'src/cluster.c')
-rw-r--r-- | src/cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c index c10c8b464..94c0d131d 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -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]", |