summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-01 10:08:31 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-01 10:08:31 +0000
commit40d391b8e18d4df5d070a64d76da571f611e56d0 (patch)
tree523f9cc96c4fc8addfef741099a40790e60646e5 /lib
parentd65b14a33be1d685e44483b5798e90e9f093add8 (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
Diffstat (limited to 'lib')
-rw-r--r--lib/irb/init.rb1
1 files changed, 1 insertions, 0 deletions
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(.+)?/