From c8eefaed4e9f9812b98db9cb5caba50debd35bb2 Mon Sep 17 00:00:00 2001 From: Calle Englund Date: Sun, 3 Feb 2019 16:58:09 +0100 Subject: [PATCH] Fix typo in cli option processing for config-file --- busted/modules/cli.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/busted/modules/cli.lua b/busted/modules/cli.lua index cbc1a8bd..db4a2d67 100644 --- a/busted/modules/cli.lua +++ b/busted/modules/cli.lua @@ -124,7 +124,7 @@ return function(options) cli:option('-e STATEMENT', 'execute statement STATEMENT', nil, processMultiOption) cli:option('-o, --output=LIBRARY', 'output library to load', defaultOutput, processOption) cli:option('-C, --directory=DIR', 'change to directory DIR before running tests. If multiple options are specified, each is interpreted relative to the previous one.', './', processDir) - cli:option('-f, --config-file=FILE', 'load configuration options from FILE', nil, processOptions) + cli:option('-f, --config-file=FILE', 'load configuration options from FILE', nil, processOption) cli:option('-t, --tags=TAGS', 'only run tests with these #tags', {}, processList) cli:option('--exclude-tags=TAGS', 'do not run tests with these #tags, takes precedence over --tags', {}, processList) cli:option('--filter=PATTERN', 'only run test names matching the Lua pattern', {}, processMultiOption)