This is an automated email from the ASF dual-hosted git repository. jinrongtong pushed a commit to branch test-release in repository https://gitbox.apache.org/repos/asf/rocketmq.git
commit 4ba68e5eb0b227ec5ec19b46c0e39007ba835b3b Author: LiosWong <[email protected]> AuthorDate: Wed Jan 1 21:40:23 2020 +0800 fix typo:paramter --- .../rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java b/tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java index 08dce1b..a06a19d 100644 --- a/tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java +++ b/tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java @@ -83,7 +83,7 @@ public class UpdateTopicPermSubCommand implements SubCommand { if (commandLine.hasOption('t')) { topic = commandLine.getOptionValue('t').trim(); } else { - System.out.printf("topic paramter value must be need.%n"); + System.out.printf("topic parameter value must be need.%n"); return; } TopicRouteData topicRouteData = defaultMQAdminExt.examineTopicRouteInfo(topic); @@ -100,7 +100,7 @@ public class UpdateTopicPermSubCommand implements SubCommand { if (commandLine.hasOption('p')) { perm = Integer.parseInt(commandLine.getOptionValue('p').trim()); } else { - System.out.printf("perm paramter value must be need.%n"); + System.out.printf("perm parameter value must be need.%n"); return; } topicConfig.setPerm(perm);
