summaryrefslogtreecommitdiff
path: root/test/lib/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-03 02:52:01 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-03 02:52:01 +0000
commitce80a49f38ce90951bbecf225103aa2291287921 (patch)
tree101be1491cfae17f170c4752c7f92d97d6406538 /test/lib/test
parentf0577b7563f72ae1effd82f12246fc8f91fece7c (diff)
Refine help message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/test')
-rw-r--r--test/lib/test/unit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb
index 629f3e7..749663d 100644
--- a/test/lib/test/unit.rb
+++ b/test/lib/test/unit.rb
@@ -93,7 +93,7 @@ module Test
self.verbose = options[:verbose]
end
- opts.on '-n', '--name PATTERN', "Filter test names on pattern." do |a|
+ opts.on '-n', '--name PATTERN', "Filter test method names on pattern: /REGEXP/ or STRING" do |a|
options[:filter] = a
end
@@ -171,7 +171,7 @@ module Test
parser.on '-b', '--basedir=DIR', 'Base directory of test suites.' do |dir|
options[:base_directory] = dir
end
- parser.on '-x', '--exclude PATTERN', 'Exclude test files on pattern.' do |pattern|
+ parser.on '-x', '--exclude REGEXP', 'Exclude test files on pattern.' do |pattern|
(options[:reject] ||= []) << pattern
end
end