Modify Project Tools : remove duplicates initCommand and missing tag ")" (#269)

Minor fix for command tool, remove duplicates initCommand and missing tag ")"
This commit is contained in:
lonsonlee
2018-04-27 11:12:27 +08:00
committed by von gosling
parent 9a4050682c
commit 117d690e50
2 changed files with 4 additions and 4 deletions
@@ -155,7 +155,7 @@ public class MQAdminStartup {
initCommand(new QueryMsgByKeySubCommand());
initCommand(new QueryMsgByUniqueKeySubCommand());
initCommand(new QueryMsgByOffsetSubCommand());
initCommand(new QueryMsgByUniqueKeySubCommand());
initCommand(new PrintMessageSubCommand());
initCommand(new PrintMessageByQueueCommand());
initCommand(new SendMsgStatusCommand());
@@ -67,15 +67,15 @@ public class UpdateTopicSubCommand implements SubCommand {
opt.setRequired(false);
options.addOption(opt);
opt = new Option("o", "order", true, "set topic's order(true|false");
opt = new Option("o", "order", true, "set topic's order(true|false)");
opt.setRequired(false);
options.addOption(opt);
opt = new Option("u", "unit", true, "is unit topic (true|false");
opt = new Option("u", "unit", true, "is unit topic (true|false)");
opt.setRequired(false);
options.addOption(opt);
opt = new Option("s", "hasUnitSub", true, "has unit sub (true|false");
opt = new Option("s", "hasUnitSub", true, "has unit sub (true|false)");
opt.setRequired(false);
options.addOption(opt);