summaryrefslogtreecommitdiff
path: root/lib/rdoc/options.rb
diff options
context:
space:
mode:
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