From 243ef42c56695d90d93bee263187a8fe8bed87b3 Mon Sep 17 00:00:00 2001 From: Andrew Grimm Date: Sat, 31 Jul 2010 10:55:04 +1000 Subject: [PATCH] Set VERBOSE to true when debug switch called in irb. --- 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 d428850..5c1d56e 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(.+)?/ -- 1.6.6