diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-06 19:12:56 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-06 19:12:56 +0100 |
commit | 728baa8702767d4fe156349871e4027573d6530b (patch) | |
tree | 904bc1551352428de0346bbcdff42fa7113b5a83 /lualib/rspamadm | |
parent | c4a6b5863a33efebec372cec921e6cde9b754bd6 (diff) | |
download | rspamd-728baa8702767d4fe156349871e4027573d6530b.tar.gz rspamd-728baa8702767d4fe156349871e4027573d6530b.zip |
[Minor] Rspamadm: Unify commands naming
Diffstat (limited to 'lualib/rspamadm')
-rw-r--r-- | lualib/rspamadm/corpus_test.lua | 3 | ||||
-rw-r--r-- | 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 |