From 8e2ce06b539ac156eca8fa5324e3a780770db18f Mon Sep 17 00:00:00 2001 From: Leon Zhang Date: Fri, 29 Nov 2019 22:52:15 +0800 Subject: [PATCH] fix #1620 amout spell error mqadmin tools with command clusterRT/checkMsgSendRT, there are spell error for message amount in long format option type. --- .../rocketmq/tools/command/cluster/CLusterSendMsgRTCommand.java | 2 +- .../rocketmq/tools/command/message/CheckMsgSendRTCommand.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/src/main/java/org/apache/rocketmq/tools/command/cluster/CLusterSendMsgRTCommand.java b/tools/src/main/java/org/apache/rocketmq/tools/command/cluster/CLusterSendMsgRTCommand.java index ecbe1f38..50381235 100644 --- a/tools/src/main/java/org/apache/rocketmq/tools/command/cluster/CLusterSendMsgRTCommand.java +++ b/tools/src/main/java/org/apache/rocketmq/tools/command/cluster/CLusterSendMsgRTCommand.java @@ -53,7 +53,7 @@ public class CLusterSendMsgRTCommand implements SubCommand { @Override public Options buildCommandlineOptions(Options options) { - Option opt = new Option("a", "amout", true, "message amout | default 100"); + Option opt = new Option("a", "amount", true, "message amount | default 100"); opt.setRequired(false); options.addOption(opt); diff --git a/tools/src/main/java/org/apache/rocketmq/tools/command/message/CheckMsgSendRTCommand.java b/tools/src/main/java/org/apache/rocketmq/tools/command/message/CheckMsgSendRTCommand.java index 14cd7206..404d90d6 100644 --- a/tools/src/main/java/org/apache/rocketmq/tools/command/message/CheckMsgSendRTCommand.java +++ b/tools/src/main/java/org/apache/rocketmq/tools/command/message/CheckMsgSendRTCommand.java @@ -49,7 +49,7 @@ public class CheckMsgSendRTCommand implements SubCommand { opt.setRequired(true); options.addOption(opt); - opt = new Option("a", "amout", true, "message amout | default 100"); + opt = new Option("a", "amount", true, "message amount | default 100"); opt.setRequired(false); options.addOption(opt); -- GitLab