summaryrefslogtreecommitdiffstats
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
commit02b8d548da9dc72271019423cf49e612e6e7ed8d (patch)
tree1b43e3759ae948a0119ee28738000c3b671c5c76 /lib/rdoc/options.rb
parentfc37503cefbfeb2b829c2bfe71850a00da9873c5 (diff)
downloadruby-02b8d548da9dc72271019423cf49e612e6e7ed8d.tar.gz
ruby-02b8d548da9dc72271019423cf49e612e6e7ed8d.tar.xz
ruby-02b8d548da9dc72271019423cf49e612e6e7ed8d.zip
Enable RDoc debugging only with $DEBUG_RDOC
git-svn-id: http://svn.ruby-lang.org/repos/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 84d92424a..259fef487 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