Merge pull request #377 from mbj/fix/improve-cli-help-wording

Fix wording in --ignore-subject help description
This commit is contained in:
Markus Schirp 2015-07-13 17:15:35 +00:00
commit b93d0610c6
2 changed files with 2 additions and 2 deletions

View file

@ -152,7 +152,7 @@ module Mutant
#
# @api private
def add_filter_options(opts)
opts.on('--ignore-subject PATTERN', 'Ignore subjects that match PATTERN') do |pattern|
opts.on('--ignore-subject EXPRESSION', 'Ignore subjects that match EXPRESSION as prefix') do |pattern|
add_matcher(:ignore_expressions, config.expression_parser.(pattern))
end
end

View file

@ -127,7 +127,7 @@ Environment:
Options:
--expected-coverage COVERAGE Fail unless COVERAGE is not reached exactly, parsed via Rational()
--use INTEGRATION Use INTEGRATION to kill mutations
--ignore-subject PATTERN Ignore subjects that match PATTERN
--ignore-subject EXPRESSION Ignore subjects that match EXPRESSION as prefix
--fail-fast Fail fast
--version Print mutants version
-d, --debug Enable debugging output