]> source.dussan.org Git - rspamd.git/commitdiff
Fix args in corpus_test 2549/head
authorSteve Freegard <steve@stevefreegard.com>
Fri, 28 Sep 2018 19:58:46 +0000 (20:58 +0100)
committerSteve Freegard <steve@stevefreegard.com>
Fri, 28 Sep 2018 19:58:46 +0000 (20:58 +0100)
lualib/rspamadm/corpus_test.lua

index 07051a1960313f2f4d84e8a77e7164d64cf6bcf6..eb144107a16a32eea53183b960f3aa56ad6de288 100644 (file)
@@ -130,9 +130,9 @@ end
 
 local function handler(args)
   opts = parser:parse(args)
-  local ham_directory = opts['ham_directory']
-  local spam_directory = opts['spam_directory']
-  local connections = opts["connections"]
+  local ham_directory = opts['ham']
+  local spam_directory = opts['spam']
+  local connections = opts["conns"]
   local output = opts["output"]
 
   local results = {}
@@ -182,4 +182,4 @@ return {
   name = 'corpus_test',
   handler = handler,
   description = parser._description
-}
\ No newline at end of file
+}