Permalink
Browse files

clarify cli doc

  • Loading branch information...
1 parent c6a5f1a commit 0259621b34705c3ee5bf60302afe1dc901730632 @dchelimsky dchelimsky committed Jan 31, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/rspec/core/command_line_options.rb
@@ -33,7 +33,8 @@ def parse
options[:line_number] = o
end
- opts.on('-e', '--example [FULL DESCRIPTION]', 'Run examples whose full descriptions match this pattern') do |o|
+ opts.on('-e', '--example [PATTERN]', "Run examples whose full descriptions match this pattern",
+ "(PATTERN is compiled into a Ruby regular expression)") do |o|
options[:full_description] = /#{o}/
end

0 comments on commit 0259621

Please sign in to comment.