Skip to content

Commit

Permalink
Highlight cmds with bash
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Oct 16, 2024
1 parent d61650a commit 6c7e2a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ public void postConstruct() {
c -> {
var builder = new StringBuilder("\n");
for (var command : getAllUsage(dispatcher.getRoot(), c.getSource())) {
builder.append("| `%s` | %s |\n".formatted(command.command(), command.help()));
builder.append("| `%s{:bash}` | %s |\n".formatted(command.command(), command.help()));
}
c.getSource().sendInfo(builder.toString());

Expand Down

0 comments on commit 6c7e2a0

Please sign in to comment.