From 400afca88a0adb5a380925dea61220e08a04022f Mon Sep 17 00:00:00 2001 From: drbrain Date: Fri, 23 Apr 2010 02:32:20 +0000 Subject: Update to RDoc 2.5.6 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rdoc/options.rb') diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb index 45b69186f9..7b3a23ca5c 100644 --- a/lib/rdoc/options.rb +++ b/lib/rdoc/options.rb @@ -366,7 +366,7 @@ Usage: #{opt.program_name} [options] [names...] end end - if ignored and not quiet then + unless ignored.empty? or quiet then $stderr.puts "invalid options: #{ignored.join ', '}" $stderr.puts '(invalid options are ignored)' end -- cgit v1.2.1