mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-01 15:47:01 +08:00
update the option's description of updateAccessConfig command
This commit is contained in:
+2
-2
@@ -76,7 +76,7 @@ public class DeleteAccessConfigSubCommand implements SubCommand {
|
||||
defaultMQAdminExt.start();
|
||||
defaultMQAdminExt.deletePlainAccessConfig(addr, accessKey);
|
||||
|
||||
System.out.printf("delete plain access config account to %s success.%n", addr);
|
||||
System.out.printf("delete plain access config account from %s success.%n", addr);
|
||||
System.out.printf("account's accesskey is:%s", accessKey);
|
||||
return;
|
||||
|
||||
@@ -89,7 +89,7 @@ public class DeleteAccessConfigSubCommand implements SubCommand {
|
||||
CommandUtil.fetchMasterAddrByClusterName(defaultMQAdminExt, clusterName);
|
||||
for (String addr : masterSet) {
|
||||
defaultMQAdminExt.deletePlainAccessConfig(addr, accessKey);
|
||||
System.out.printf("delete plain access config account to %s success.%n", addr);
|
||||
System.out.printf("delete plain access config account from %s success.%n", addr);
|
||||
}
|
||||
|
||||
System.out.printf("account's accesskey is:%s", accessKey);
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ public class UpdateAccessConfigSubCommand implements SubCommand {
|
||||
Option opt = new Option("b", "brokerAddr", true, "update acl config file to which broker");
|
||||
optionGroup.addOption(opt);
|
||||
|
||||
opt = new Option("c", "clusterName", true, "update cl config file to which cluster");
|
||||
opt = new Option("c", "clusterName", true, "update acl config file to which cluster");
|
||||
optionGroup.addOption(opt);
|
||||
|
||||
optionGroup.setRequired(true);
|
||||
|
||||
Reference in New Issue
Block a user