commit 728baa8: [Minor] Rspamadm: Unify commands naming

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Aug 6 18:14:05 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-08-06 19:12:56 +0100
URL: https://github.com/rspamd/rspamd/commit/728baa8702767d4fe156349871e4027573d6530b (HEAD -> master)

[Minor] Rspamadm: Unify commands naming

---
 lualib/rspamadm/corpus_test.lua | 3 ++-
 lualib/rspamadm/dns_tool.lua    | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lualib/rspamadm/corpus_test.lua b/lualib/rspamadm/corpus_test.lua
index eb144107a..939c3c0fa 100644
--- a/lualib/rspamadm/corpus_test.lua
+++ b/lualib/rspamadm/corpus_test.lua
@@ -179,7 +179,8 @@ end
 
 
 return {
-  name = 'corpus_test',
+  name = 'corpustest',
+  aliases = {'corpus_test', 'corpus'},
   handler = handler,
   description = parser._description
 }
diff --git a/lualib/rspamadm/dns_tool.lua b/lualib/rspamadm/dns_tool.lua
index 685785183..cd512ab9a 100644
--- a/lualib/rspamadm/dns_tool.lua
+++ b/lualib/rspamadm/dns_tool.lua
@@ -170,7 +170,7 @@ local function handler(args)
 end
 
 return {
-  name = 'dns_tool',
+  name = 'dnstool',
   aliases = {'dns', 'dns_tool'},
   handler = handler,
   description = parser._description


More information about the Commits mailing list