style: format help messages differently

This commit is contained in:
2025-05-13 00:33:54 -03:00
parent a8d4d01378
commit 166fd3efc3
+2 -1
View File
@@ -367,7 +367,8 @@ registerConsoleCommand("turtles", turtlesCommand, "Lists all the linked turtles"
function helpCommand()
log.info("----- commands -----")
for _, cmd in pairs(consoleCommands) do
log.info("%s - %s", cmd.name, cmd.desc)
log.info("* %s", cmd.name)
log.info("\t%s", cmd.desc)
end
end
registerConsoleCommand("help", helpCommand, "Prints out all the console commands")