From 23054e2780d2df593e7f6e85ea08df3987c077e5 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Mon, 13 Jul 2015 17:04:35 +0000 Subject: [PATCH] Fix wording in --ignore-subject help description --- lib/mutant/cli.rb | 2 +- spec/unit/mutant/cli_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mutant/cli.rb b/lib/mutant/cli.rb index eef3a968..7fbd9dcc 100644 --- a/lib/mutant/cli.rb +++ b/lib/mutant/cli.rb @@ -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 diff --git a/spec/unit/mutant/cli_spec.rb b/spec/unit/mutant/cli_spec.rb index c22eb8c9..15a7df7a 100644 --- a/spec/unit/mutant/cli_spec.rb +++ b/spec/unit/mutant/cli_spec.rb @@ -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