From 64aeb516a04b9f61903e98dc7d730a3877c47535 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Sat, 13 Jun 2015 04:26:08 +0000 Subject: [PATCH] Fix CLI description for --use --- 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 63a957a6..41994162 100644 --- a/lib/mutant/cli.rb +++ b/lib/mutant/cli.rb @@ -152,7 +152,7 @@ module Mutant opts.on('--score COVERAGE', 'Fail unless COVERAGE is not reached exactly [deprecated]') do |coverage| update(expected_coverage: Rational(coverage, 100)) end - opts.on('--use STRATEGY', 'Use STRATEGY for killing mutations', &method(:setup_integration)) + opts.on('--use INTEGRATION', 'Use INTEGRATION to kill mutations', &method(:setup_integration)) end # Add filter options diff --git a/spec/unit/mutant/cli_spec.rb b/spec/unit/mutant/cli_spec.rb index 8aa94c2c..c0fc6f43 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() --score COVERAGE Fail unless COVERAGE is not reached exactly [deprecated] - --use STRATEGY Use STRATEGY for killing mutations + --use INTEGRATION Use INTEGRATION to kill mutations --ignore-subject PATTERN Ignore subjects that match PATTERN --fail-fast Fail fast --version Print mutants version