Nicer wiki perms table.

Dieser Commit ist enthalten in:
Wizjany 2011-09-26 00:09:21 -04:00
Ursprung 903abc80a4
Commit 9e6a2ccf4d

Datei anzeigen

@ -137,6 +137,29 @@ public class DocumentationPrinter {
}
}
stream.print(" || ");
boolean firstAlias = true;
if (cmd.aliases().length != 0) {
for (String alias : cmd.aliases()) {
if (!firstAlias) stream.print("<br />");
stream.print(prefix + alias);
firstAlias = false;
}
}
stream.print(" || ");
if (cmd.flags() != null && !cmd.flags().equals("")) {
stream.print(cmd.flags());
}
stream.print(" || ");
if (cmd.desc() != null && !cmd.desc().equals("")) {
stream.print(cmd.desc());
}
stream.println();
if (method.isAnnotationPresent(NestedCommand.class)) {