commit 4f4b2c2: [Minor] Fix command line arguments group

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Apr 30 16:56:05 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-04-30 16:17:32 +0100
URL: https://github.com/rspamd/rspamd/commit/4f4b2c211fbba30c6b03bc656c5c2ff76f7c12bc

[Minor] Fix command line arguments group
Issue: #3742

---
 lualib/rspamadm/dns_tool.lua | 4 ++--
 1 file 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>"),


More information about the Commits mailing list