diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-14 09:32:36 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-14 09:32:36 +0000 |
commit | 949e6d454e0ad11cbd47ad4c5ce92c474d5b9d2e (patch) | |
tree | 307636518b9b64ea462fab5fc6011117d2d6e0aa /lib | |
parent | 58f1c8fca8e5d20fa6c86dedfe7c2aeeaacbc391 (diff) | |
download | ruby-949e6d454e0ad11cbd47ad4c5ce92c474d5b9d2e.tar.gz |
* lib/test/unit.rb: help messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/test/unit.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb index 2c2085c280..73ce1b82c3 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -79,7 +79,7 @@ module Test def setup_options(parser, options) super - parser.on '-x', '--exclude PATTERN' do |pattern| + parser.on '-x', '--exclude PATTERN', 'Exclude test files on pattern.' do |pattern| (options[:reject] ||= []) << pattern end end @@ -117,7 +117,7 @@ module Test def setup_options(parser, options) super - parser.on '-Idirectory' do |dirs| + parser.on '-Idirectory', 'Add library load path' do |dirs| dirs.split(':').each { |d| $LOAD_PATH.unshift d } end end @@ -126,7 +126,7 @@ module Test module GCStressOption def setup_options(parser, options) super - parser.on '--[no-]gc-stress' do |flag| + parser.on '--[no-]gc-stress', 'Set GC.stress as true' do |flag| options[:gc_stress] = flag end end |