|
|
@ -127,12 +127,7 @@ public class CommandCompleter extends StringsCompleter {
|
|
|
|
private final String usage;
|
|
|
|
private final String usage;
|
|
|
|
|
|
|
|
|
|
|
|
OptionHelpLine(OptionHelp optionHelp) {
|
|
|
|
OptionHelpLine(OptionHelp optionHelp) {
|
|
|
|
StringBuilder options = new StringBuilder();
|
|
|
|
this.options = String.join(", ", optionHelp.getOptions());
|
|
|
|
for (String option : optionHelp.getOptions()) {
|
|
|
|
|
|
|
|
options.append((options.length() != 0) ? ", " : "");
|
|
|
|
|
|
|
|
options.append(option);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.options = options.toString();
|
|
|
|
|
|
|
|
this.usage = optionHelp.getUsageHelp();
|
|
|
|
this.usage = optionHelp.getUsageHelp();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|