summaryrefslogtreecommitdiff
path: root/lib/rdoc/options.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 00:13:12 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 00:13:12 +0000
commit29962f8fb6687010e005cbf311a791e4eafb2eae (patch)
tree1b43e3759ae948a0119ee28738000c3b671c5c76 /lib/rdoc/options.rb
parent951200ac639980c1d1d8d836c4badfa889f0ccbb (diff)
Enable RDoc debugging only with $DEBUG_RDOC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/options.rb')
-rw-r--r--lib/rdoc/options.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb
index 84d92424a3..259fef487b 100644
--- a/lib/rdoc/options.rb
+++ b/lib/rdoc/options.rb
@@ -386,7 +386,7 @@ class Options
case opt
when "--all" then @show_all = true
when "--charset" then @charset = arg
- when "--debug" then $DEBUG = true
+ when "--debug" then $DEBUG_RDOC = true
when "--exclude" then @exclude << Regexp.new(arg)
when "--inline-source" then @inline_source = true
when "--line-numbers" then @include_line_numbers = true