Skip to content

Commit

Permalink
Remove “inf” argument from shutdown command help (#5880)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuzzy2 authored and nerzhul committed Jun 2, 2017
1 parent 30c51a1 commit 80fe516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/game/chatcommands.lua
Expand Up @@ -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]+)([^ ]+)(.*)")
Expand Down

0 comments on commit 80fe516

Please sign in to comment.