未验证 提交 93745553 编写于 作者: V von gosling 提交者: GitHub

Merge pull request #1690 from LiosWong/develop

fix typo: paramter
...@@ -83,7 +83,7 @@ public class UpdateTopicPermSubCommand implements SubCommand { ...@@ -83,7 +83,7 @@ public class UpdateTopicPermSubCommand implements SubCommand {
if (commandLine.hasOption('t')) { if (commandLine.hasOption('t')) {
topic = commandLine.getOptionValue('t').trim(); topic = commandLine.getOptionValue('t').trim();
} else { } else {
System.out.printf("topic paramter value must be need.%n"); System.out.printf("topic parameter value must be need.%n");
return; return;
} }
TopicRouteData topicRouteData = defaultMQAdminExt.examineTopicRouteInfo(topic); TopicRouteData topicRouteData = defaultMQAdminExt.examineTopicRouteInfo(topic);
...@@ -100,7 +100,7 @@ public class UpdateTopicPermSubCommand implements SubCommand { ...@@ -100,7 +100,7 @@ public class UpdateTopicPermSubCommand implements SubCommand {
if (commandLine.hasOption('p')) { if (commandLine.hasOption('p')) {
perm = Integer.parseInt(commandLine.getOptionValue('p').trim()); perm = Integer.parseInt(commandLine.getOptionValue('p').trim());
} else { } else {
System.out.printf("perm paramter value must be need.%n"); System.out.printf("perm parameter value must be need.%n");
return; return;
} }
topicConfig.setPerm(perm); topicConfig.setPerm(perm);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册