mirror of
https://codeberg.org/AntumLuanti/mod-cleaner.git
synced 2025-03-21 15:41:22 +00:00
Minor changes to Lua docstrings
This commit is contained in:
parent
970d8b3aab
commit
9052543301
2 changed files with 3 additions and 3 deletions
2
api.lua
2
api.lua
|
@ -143,7 +143,7 @@ end
|
||||||
|
|
||||||
--- Unsafe methods.
|
--- Unsafe methods.
|
||||||
--
|
--
|
||||||
-- Enabled with `cleaner.unsafe` setting.
|
-- Enabled with [cleaner.unsafe](settings.html#cleaner.unsafe) setting.
|
||||||
--
|
--
|
||||||
-- @section unsafe
|
-- @section unsafe
|
||||||
|
|
||||||
|
|
4
chat.lua
4
chat.lua
|
@ -424,7 +424,7 @@ core.register_chatcommand(cmd_repo.find_node.cmd, {
|
||||||
|
|
||||||
--- Unsafe commands.
|
--- Unsafe commands.
|
||||||
--
|
--
|
||||||
-- Enabled with `cleaner.unsafe` setting.
|
-- Enabled with [cleaner.unsafe](settings.html#cleaner.unsafe) setting.
|
||||||
--
|
--
|
||||||
-- @section unsafe
|
-- @section unsafe
|
||||||
|
|
||||||
|
@ -474,7 +474,7 @@ end
|
||||||
--
|
--
|
||||||
-- @chatcmd ctool
|
-- @chatcmd ctool
|
||||||
-- @param action Action to execute. Can be "status", "setmode", or "setnode".
|
-- @param action Action to execute. Can be "status", "setmode", or "setnode".
|
||||||
-- @param value Mode or node to be set for tool.
|
-- @param value Mode or node to be set for tool (not required for "status" action)..
|
||||||
core.register_chatcommand(cmd_repo.tool.cmd, {
|
core.register_chatcommand(cmd_repo.tool.cmd, {
|
||||||
privs = {server=true},
|
privs = {server=true},
|
||||||
description = S("Manage settings for wielded cleaner tool.") .. "\n\n"
|
description = S("Manage settings for wielded cleaner tool.") .. "\n\n"
|
||||||
|
|
Loading…
Add table
Reference in a new issue