aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
diff options
context:
space:
mode:
authorWuzzy <wuzzy2@mail.ru>2017-06-02 17:16:30 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-06-02 17:16:30 +0200
commit80fe516e4e9139503afec234d81555468803b118 (patch)
tree42f3273c0ba266cf812e28f566cf6f4a678b1ebb /builtin/game
parent30c51a1115539b76aa76091de0adbb083c680b42 (diff)
downloadminetest-80fe516e4e9139503afec234d81555468803b118.tar.gz
minetest-80fe516e4e9139503afec234d81555468803b118.tar.bz2
minetest-80fe516e4e9139503afec234d81555468803b118.zip
Remove “inf” argument from shutdown command help (#5880)
Diffstat (limited to 'builtin/game')
-rw-r--r--builtin/game/chatcommands.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/chatcommands.lua b/builtin/game/chatcommands.lua
index 3f5f044b4..3dfc29ffa 100644
--- a/builtin/game/chatcommands.lua
+++ b/builtin/game/chatcommands.lua
@@ -807,7 +807,7 @@ core.register_chatcommand("days", {
core.register_chatcommand("shutdown", {
description = "Shutdown server",
- params = "[delay_in_seconds(0..inf) or -1 for cancel] [reconnect] [message]",
+ params = "[delay_in_seconds (non-negative number, or -1 to cancel)] [reconnect] [message]",
privs = {server=true},
func = function(name, param)
local delay, reconnect, message = param:match("([^ ][-]?[0-9]+)([^ ]+)(.*)")