Super minor tweaks to the help system

This commit is contained in:
Alexander Söderberg 2020-09-21 15:24:55 +02:00
parent a50b36e41f
commit bad944e1a5
No known key found for this signature in database
GPG key ID: C0207FF7EA146678
2 changed files with 2 additions and 1 deletions

View file

@ -296,6 +296,7 @@ public final class CommandHelpHandler<C> {
}
/**
* Help topic with multiple semi-verbose command descriptions
*

View file

@ -100,7 +100,7 @@ class CommandHelpHandlerTest {
while (iterator.hasNext()) {
final CommandHelpHandler.VerboseHelpEntry<TestCommandSender> entry = iterator.next();
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());
}
}