summaryrefslogtreecommitdiffstats
path: root/lualib/rspamadm/confighelp.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-03 11:16:01 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-03 11:16:01 +0100
commit3f6efef9c2e6dcc7c7988af5ca3ce1e08f5bdd33 (patch)
treebac9e92bdcb86731065465f9e4342bda6eeb9719 /lualib/rspamadm/confighelp.lua
parent54b5410172c7c95948f59ad6ecb48f0f2fc0698e (diff)
downloadrspamd-3f6efef9c2e6dcc7c7988af5ca3ce1e08f5bdd33.tar.gz
rspamd-3f6efef9c2e6dcc7c7988af5ca3ce1e08f5bdd33.zip
[Minor] Fix rspamadm confighelp with arguments
Diffstat (limited to 'lualib/rspamadm/confighelp.lua')
-rw-r--r--lualib/rspamadm/confighelp.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lualib/rspamadm/confighelp.lua b/lualib/rspamadm/confighelp.lua
index d477ff69b..c45c35da5 100644
--- a/lualib/rspamadm/confighelp.lua
+++ b/lualib/rspamadm/confighelp.lua
@@ -13,6 +13,8 @@ local parser = argparse()
:name "rspamadm confighelp"
:description "Shows help for the specified configuration options"
:help_description_margin(32)
+parser:argument "path":args "*"
+ :description('Optional config paths')
parser:flag "--no-color"
:description "Disable coloured output"
parser:flag "--short"