diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-01 01:48:57 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-01 01:48:57 +0000 |
commit | ffe49186c971e751e2082db342dd4b04f1520b49 (patch) | |
tree | 949756dbc4e1eb518f95c33fde26251625f3f5f8 /lib | |
parent | 6ad3f616638b4bfa9140318897a1e68df5b29eec (diff) |
* 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/trunk@28816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/irb/init.rb | 1 |
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(.+)?/ |