Actions
Bug #3634
closedirb -d does not set $VERBOSE to true
Description
=begin
Thanks to feature #1832, irb -w sets $VERBOSE to true. However, this did not update irb -d to setting $VERBOSE to true.
If irb -w sets $VERBOSE to true, and ruby -d sets $VERBOSE (as well as $DEBUG) to true, then irb -d should set $VERBOSE (as well as $DEBUG) to true.
Attached is a patch that should set $VERBOSE to true for "irb -d" (I haven't tested it myself). I did not add any unit tests because I couldn't find an equivalent of test/ruby/test_parse.rb for irb.
=end
Files
Actions
Like0
Like0