diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-01 10:08:31 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-01 10:08:31 +0000 |
commit | 40d391b8e18d4df5d070a64d76da571f611e56d0 (patch) | |
tree | 523f9cc96c4fc8addfef741099a40790e60646e5 | |
parent | d65b14a33be1d685e44483b5798e90e9f093add8 (diff) |
merges r28816 from trunk into ruby_1_9_2.
--
* lib/irb/init.rb (IRB.parse_opts): set VERBOSE to true when debug
switch called in irb. a patch from Andrew Grimm in
[ruby-core:31558].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/irb/init.rb | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Sun Aug 1 10:23:48 2010 Yusuke Endoh <mame@tsg.ne.jp> + + * lib/irb/init.rb (IRB.parse_opts): set VERBOSE to true when debug + switch called in irb. a patch from Andrew Grimm in + [ruby-core:31558]. + Sun Aug 1 09:35:35 2010 Yusuke Endoh <mame@tsg.ne.jp> * bignum.c (big_op): comparison of bignum and infinity has returned 1 diff --git a/lib/irb/init.rb b/lib/irb/init.rb index d428850e3f..5c1d56e980 100644 --- a/lib/irb/init.rb +++ b/lib/irb/init.rb @@ -135,6 +135,7 @@ module IRB @CONF[:MATH_MODE] = true when "-d" $DEBUG = true + $VERBOSE = true when "-w" $VERBOSE = true when /^-W(.+)?/ |