From 62595a7ed4f23f8e0cd4aa13793142bc143d43a6 Mon Sep 17 00:00:00 2001 From: Steve Freegard Date: Fri, 28 Sep 2018 20:58:46 +0100 Subject: [PATCH] Fix args in corpus_test --- lualib/rspamadm/corpus_test.lua | 8 ++++---- 1 file 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 +} -- 2.39.5