diff --git a/ChangeLog b/ChangeLog index 06b58ae493..cf440dcd8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sun Aug 1 10:23:48 2010 Yusuke Endoh + + * 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 * 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(.+)?/