From 691e374f00d9b53bc1932e0f1cd86c4e5b9431d7 Mon Sep 17 00:00:00 2001 From: LiosWong Date: Wed, 1 Jan 2020 21:40:23 +0800 Subject: [PATCH] fix typo:paramter --- .../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 08dce1b9..a06a19d1 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); -- GitLab