add Command description

This commit is contained in:
方块君
2022-05-08 11:51:32 +08:00
committed by Melledy
parent a46d58e5f6
commit ef3579da82
4 changed files with 7 additions and 5 deletions

View File

@@ -121,7 +121,7 @@ final class ToolsWithLanguageOption {
while (cmdName.length() <= 15) {
cmdName = " " + cmdName;
}
writer.println(cmdName + " : " + handler.description());
writer.println(cmdName + " : " + (handler.description() == null ? command.description() : handler.description()));
});
writer.println();