Skip to content

Commit

Permalink
Change to improved incremental help
Browse files Browse the repository at this point in the history
  • Loading branch information
mbj committed Mar 6, 2023
1 parent 4367bbb commit edc1844
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/mutant/cli/command/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def add_matcher_options(parser)
parser.on('--start-subject EXPRESSION', 'Start mutation testing at a specific subject') do |pattern|
add_matcher(:start_expressions, @config.expression_parser.call(pattern).from_right)
end
parser.on('--since REVISION', 'Only select subjects touched since REVISION') do |revision|
parser.on('--since REVISION', 'Only select dirty subjects since REVISION') do |revision|
add_matcher(
:subject_filters,
Repository::SubjectFilter.new(
Expand Down
6 changes: 3 additions & 3 deletions spec/unit/mutant/cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def self.main_body
Matcher:
--ignore-subject EXPRESSION Ignore subjects that match EXPRESSION as prefix
--start-subject EXPRESSION Start mutation testing at a specific subject
--since REVISION Only select subjects touched since REVISION
--since REVISION Only select dirty subjects since REVISION
MESSAGE

{
Expand Down Expand Up @@ -348,7 +348,7 @@ def self.main_body
Matcher:
--ignore-subject EXPRESSION Ignore subjects that match EXPRESSION as prefix
--start-subject EXPRESSION Start mutation testing at a specific subject
--since REVISION Only select subjects touched since REVISION
--since REVISION Only select dirty subjects since REVISION
MESSAGE

{
Expand Down Expand Up @@ -395,7 +395,7 @@ def self.main_body
Matcher:
--ignore-subject EXPRESSION Ignore subjects that match EXPRESSION as prefix
--start-subject EXPRESSION Start mutation testing at a specific subject
--since REVISION Only select subjects touched since REVISION
--since REVISION Only select dirty subjects since REVISION
MESSAGE

{
Expand Down

0 comments on commit edc1844

Please sign in to comment.