提交 22647dea 编写于 作者: Z zhurunhua

update the option's description of updateAccessConfig command

上级 56c3ad87
...@@ -76,7 +76,7 @@ public class DeleteAccessConfigSubCommand implements SubCommand { ...@@ -76,7 +76,7 @@ public class DeleteAccessConfigSubCommand implements SubCommand {
defaultMQAdminExt.start(); defaultMQAdminExt.start();
defaultMQAdminExt.deletePlainAccessConfig(addr, accessKey); 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); System.out.printf("account's accesskey is:%s", accessKey);
return; return;
...@@ -89,7 +89,7 @@ public class DeleteAccessConfigSubCommand implements SubCommand { ...@@ -89,7 +89,7 @@ public class DeleteAccessConfigSubCommand implements SubCommand {
CommandUtil.fetchMasterAddrByClusterName(defaultMQAdminExt, clusterName); CommandUtil.fetchMasterAddrByClusterName(defaultMQAdminExt, clusterName);
for (String addr : masterSet) { for (String addr : masterSet) {
defaultMQAdminExt.deletePlainAccessConfig(addr, accessKey); 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); System.out.printf("account's accesskey is:%s", accessKey);
......
...@@ -50,7 +50,7 @@ public class UpdateAccessConfigSubCommand implements SubCommand { ...@@ -50,7 +50,7 @@ public class UpdateAccessConfigSubCommand implements SubCommand {
Option opt = new Option("b", "brokerAddr", true, "update acl config file to which broker"); Option opt = new Option("b", "brokerAddr", true, "update acl config file to which broker");
optionGroup.addOption(opt); 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.addOption(opt);
optionGroup.setRequired(true); optionGroup.setRequired(true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册