diff options
author | Steve Freegard <steve@stevefreegard.com> | 2018-09-28 20:58:46 +0100 |
---|---|---|
committer | Steve Freegard <steve@stevefreegard.com> | 2018-09-28 20:58:46 +0100 |
commit | 62595a7ed4f23f8e0cd4aa13793142bc143d43a6 (patch) | |
tree | 8f7d9c657ed635004439189bf09dd3fdef46774e | |
parent | e8fe3c7547379bc20d55d15e163ce7a2a1c5077d (diff) | |
download | rspamd-62595a7ed4f23f8e0cd4aa13793142bc143d43a6.tar.gz rspamd-62595a7ed4f23f8e0cd4aa13793142bc143d43a6.zip |
Fix args in corpus_test
-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 +} |