diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-03 02:52:01 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-03 02:52:01 +0000 |
commit | ce80a49f38ce90951bbecf225103aa2291287921 (patch) | |
tree | 101be1491cfae17f170c4752c7f92d97d6406538 | |
parent | f0577b7563f72ae1effd82f12246fc8f91fece7c (diff) | |
download | ruby-ce80a49f38ce90951bbecf225103aa2291287921.tar.gz |
Refine help message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/lib/test/unit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb index 629f3e74b8..749663d755 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 |