]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix rspamadm confighelp with arguments
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 3 Jul 2018 10:16:01 +0000 (11:16 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 3 Jul 2018 10:16:01 +0000 (11:16 +0100)
lualib/rspamadm/confighelp.lua

index d477ff69b1e69b99fb132e42e99f0a43d151aba4..c45c35da5421a75e964b448a4c837c5ce4035e3f 100644 (file)
@@ -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"