diff options
-rw-r--r-- | lualib/rspamadm/corpus_test.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lualib/rspamadm/corpus_test.lua b/lualib/rspamadm/corpus_test.lua index 07051a196..eb144107a 100644 --- a/lualib/rspamadm/corpus_test.lua +++ b/lualib/rspamadm/corpus_test.lua @@ -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 +} |