style: format help messages differently
This commit is contained in:
@@ -367,7 +367,8 @@ registerConsoleCommand("turtles", turtlesCommand, "Lists all the linked turtles"
|
|||||||
function helpCommand()
|
function helpCommand()
|
||||||
log.info("----- commands -----")
|
log.info("----- commands -----")
|
||||||
for _, cmd in pairs(consoleCommands) do
|
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
|
||||||
end
|
end
|
||||||
registerConsoleCommand("help", helpCommand, "Prints out all the console commands")
|
registerConsoleCommand("help", helpCommand, "Prints out all the console commands")
|
||||||
|
|||||||
Reference in New Issue
Block a user