aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-04-30 16:17:32 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-04-30 16:17:32 +0100
commit4f4b2c211fbba30c6b03bc656c5c2ff76f7c12bc (patch)
tree357a6219cc8f4d508ee0b925f30d410f653ed841
parentb102a3ef70ce6531eb7b60778c31fc908c37dfa6 (diff)
downloadrspamd-4f4b2c211fbba30c6b03bc656c5c2ff76f7c12bc.tar.gz
rspamd-4f4b2c211fbba30c6b03bc656c5c2ff76f7c12bc.zip
[Minor] Fix command line arguments group
Issue: #3742
-rw-r--r--lualib/rspamadm/dns_tool.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/rspamadm/dns_tool.lua b/lualib/rspamadm/dns_tool.lua
index 0bdb0a722..1cbd6b8b5 100644
--- a/lualib/rspamadm/dns_tool.lua
+++ b/lualib/rspamadm/dns_tool.lua
@@ -21,7 +21,7 @@ local ansicolors = require "ansicolors"
local bit = require "bit"
local parser = argparse()
- :name "rspamadm dns_tool"
+ :name "rspamadm dnstool"
:description "DNS tools provided by Rspamd"
:help_description_margin(30)
:command_target("command")
@@ -34,7 +34,7 @@ parser:option "-c --config"
local spf = parser:command "spf"
:description "Extracts spf records"
-parser:mutex(
+spf:mutex(
spf:option "-d --domain"
:description "Domain to use"
:argname("<domain>"),