Permalink
Browse files

Fix a warning with rdoc --version and ri --version.

  • Loading branch information...
1 parent 12b72ad commit 58e713a779152cf415597b8b7e716dc5a5bc0d01 designingpatts committed Sep 23, 2008
Showing with 2 additions and 0 deletions.
  1. +1 −0 lib/rdoc/options.rb
  2. +1 −0 lib/rdoc/ri/driver.rb
View
@@ -196,6 +196,7 @@ def parse(argv)
opts = OptionParser.new do |opt|
opt.program_name = File.basename $0
opt.version = RDoc::VERSION
+ opt.release = nil
opt.summary_indent = ' ' * 4
opt.banner = <<-EOF
Usage: #{opt.program_name} [options] [names...]
@@ -97,6 +97,7 @@ def self.process_args(argv)
opts = OptionParser.new do |opt|
opt.program_name = File.basename $0
opt.version = RDoc::VERSION
+ opt.release = nil
opt.summary_indent = ' ' * 4
directories = [

0 comments on commit 58e713a

Please sign in to comment.