fix #1620 amout spell error

mqadmin tools with command clusterRT/checkMsgSendRT, there are
  spell error for message amount in long format option type.
This commit is contained in:
Leon Zhang
2019-11-29 22:52:15 +08:00
parent 034bebc1c2
commit 8e2ce06b53
2 changed files with 2 additions and 2 deletions
@@ -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);
@@ -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);