From 2ab09bb48659c60e5dab19c3380a245e3eb19a17 Mon Sep 17 00:00:00 2001 From: Ezhh Date: Thu, 15 Jun 2017 21:38:41 +0100 Subject: Improve chatcommand params consistency (#5985) * Fix and improve params consistency * Move parenthesis requirement to descriptions --- builtin/common/chatcommands.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'builtin/common') diff --git a/builtin/common/chatcommands.lua b/builtin/common/chatcommands.lua index e8955c6b4..52edda659 100644 --- a/builtin/common/chatcommands.lua +++ b/builtin/common/chatcommands.lua @@ -97,7 +97,7 @@ end if INIT == "client" then core.register_chatcommand("help", { - params = gettext("[all/]"), + params = gettext("[all | ]"), description = gettext("Get help for commands"), func = function(param) return do_help_cmd(nil, param) @@ -105,7 +105,7 @@ if INIT == "client" then }) else core.register_chatcommand("help", { - params = "[all/privs/]", + params = "[all | privs | ]", description = "Get help for commands or list privileges", func = do_help_cmd, }) -- cgit v1.2.3