Skip to content

Commit

Permalink
Merge pull request #587 from notCalle/fix-cli-option-config-file
Browse files Browse the repository at this point in the history
Fix typo in cli option processing for config-file
  • Loading branch information
ajacksified committed Jun 28, 2019
2 parents 779ecc4 + c8eefae commit acbcc29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion busted/modules/cli.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit acbcc29

Please sign in to comment.