Super minor tweaks to the help system
This commit is contained in:
parent
a50b36e41f
commit
bad944e1a5
2 changed files with 2 additions and 1 deletions
|
|
@ -295,6 +295,7 @@ public final class CommandHelpHandler<C> {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Help topic with multiple semi-verbose command descriptions
|
* Help topic with multiple semi-verbose command descriptions
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ class CommandHelpHandlerTest {
|
||||||
while (iterator.hasNext()) {
|
while (iterator.hasNext()) {
|
||||||
final CommandHelpHandler.VerboseHelpEntry<TestCommandSender> entry = iterator.next();
|
final CommandHelpHandler.VerboseHelpEntry<TestCommandSender> entry = iterator.next();
|
||||||
final String prefix = iterator.hasNext() ? "├──" : "└──";
|
final String prefix = iterator.hasNext() ? "├──" : "└──";
|
||||||
System.out.printf(" %s %s: %s\n", prefix, entry.getSyntaxString(), entry.getDescription());
|
System.out.printf(" %s /%s: %s\n", prefix, entry.getSyntaxString(), entry.getDescription());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue