Skip to content

Commit

Permalink
Merge branch 'apache:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
lwclover committed Jul 5, 2021
2 parents 062e6f3 + 2a63717 commit c75ef50
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@ public static Options buildCommandlineOptions(final Options options) {
opt = new Option("g", "group", true, "Consumer group name, Default: benchmark_consumer");
opt.setRequired(false);
options.addOption(opt);

opt = new Option("p", "group suffix enable", true, "Consumer group suffix enable, Default: false");
opt = new Option("p", "group prefix enable", true, "Is group prefix enable, Default: false");
opt.setRequired(false);
options.addOption(opt);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ public String commandDesc() {
public Options buildCommandlineOptions(Options options) {
OptionGroup optionGroup = new OptionGroup();

Option opt = new Option("b", "brokerAddr", true, "delete acl config account to which broker");
Option opt = new Option("b", "brokerAddr", true, "delete acl config account from which broker");
optionGroup.addOption(opt);

opt = new Option("c", "clusterName", true, "delete cl config account to which cluster");
opt = new Option("c", "clusterName", true, "delete acl config account from which cluster");
optionGroup.addOption(opt);

optionGroup.setRequired(true);
Expand Down Expand Up @@ -76,7 +76,7 @@ public Options buildCommandlineOptions(Options options) {
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;

Expand All @@ -89,7 +89,7 @@ public Options buildCommandlineOptions(Options options) {
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public Options buildCommandlineOptions(Options options) {
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);
Expand Down

0 comments on commit c75ef50

Please sign in to comment.