diff options
-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(.+)?/ |