[前][次][番号順一覧][スレッド一覧]

ruby-changes:18187

From: usa <ko1@a...>
Date: Tue, 14 Dec 2010 18:32:45 +0900 (JST)
Subject: [ruby-changes:18187] Ruby:r30208 (trunk): * lib/test/unit.rb: help messages.

usa	2010-12-14 18:32:36 +0900 (Tue, 14 Dec 2010)

  New Revision: 30208

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30208

  Log:
    * lib/test/unit.rb: help messages.

  Modified files:
    trunk/ChangeLog
    trunk/lib/test/unit.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30207)
+++ ChangeLog	(revision 30208)
@@ -1,3 +1,7 @@
+Tue Dec 14 18:31:48 2010  NAKAMURA Usaku  <usa@r...>
+
+	* lib/test/unit.rb: help messages.
+
 Tue Dec 14 18:19:03 2010  NAKAMURA Usaku  <usa@r...>
 
 	* common.mk (help): there is no reason to use the abbreviation for here.
Index: lib/test/unit.rb
===================================================================
--- lib/test/unit.rb	(revision 30207)
+++ lib/test/unit.rb	(revision 30208)
@@ -79,7 +79,7 @@
 
       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 @@
 
       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 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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]