Update documentation on theme command in console (#643)

- Make list of themes appear when `name` is empty instead of `[ThemeList]`
This commit is contained in:
NOT_A_ROBOT
2022-02-08 12:01:16 +07:00
committed by GitHub
parent f4e0cabcf3
commit beaaac6892

View File

@@ -505,14 +505,14 @@ local commands={}do
log("No theme called "..name) log("No theme called "..name)
end end
else else
log{C.A,"Usage: theme [themeName]"} log{C.A,"Usage: theme <xmas|sprfes|zday1/2/3|season1/2/3/4|fool|birth>"}
end end
end, end,
description="Load theme", description="Load theme",
details={ details={
"Load a theme.", "Load a theme.",
"", "",
"Usage: theme <classic|xmas|sprfes|zday1/2/3|season1/2/3/4|fool|birth>", "Usage: theme <xmas|sprfes|zday1/2/3|season1/2/3/4|fool|birth>",
}, },
} }
commands.test={ commands.test={