diff --git a/src/commands.c b/src/commands.c index d2364b0ab..1e40b5e54 100644 --- a/src/commands.c +++ b/src/commands.c @@ -470,7 +470,10 @@ NULL /********** CLUSTER MEET ********************/ /* CLUSTER MEET history */ -#define CLUSTER_MEET_History NULL +commandHistory CLUSTER_MEET_History[] = { +{"4.0.0","Added the optional `bus_port` argument."}, +{0} +}; /* CLUSTER MEET tips */ const char *CLUSTER_MEET_tips[] = { @@ -482,6 +485,7 @@ NULL struct redisCommandArg CLUSTER_MEET_Args[] = { {"ip",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_NONE}, {"port",ARG_TYPE_INTEGER,-1,NULL,NULL,NULL,CMD_ARG_NONE}, +{"bus_port",ARG_TYPE_INTEGER,-1,NULL,NULL,"4.0.0",CMD_ARG_OPTIONAL}, {0} }; diff --git a/src/commands/cluster-meet.json b/src/commands/cluster-meet.json index c36b7007e..9a85be76d 100644 --- a/src/commands/cluster-meet.json +++ b/src/commands/cluster-meet.json @@ -7,6 +7,12 @@ "arity": -4, "container": "CLUSTER", "function": "clusterCommand", + "history": [ + [ + "4.0.0", + "Added the optional `cluster_bus_port` argument." + ] + ], "command_flags": [ "NO_ASYNC_LOADING", "ADMIN", @@ -23,6 +29,12 @@ { "name": "port", "type": "integer" + }, + { + "name": "cluster_bus_port", + "type": "integer", + "optional": true, + "since": "4.0.0" } ] }