From 836a01c51069ab741e304dadcb0f233f763a59bd Mon Sep 17 00:00:00 2001 From: drbrain Date: Mon, 24 Dec 2007 02:44:13 +0000 Subject: [PATCH] Fix formatting of multiple paths git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/ri/ri_options.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rdoc/ri/ri_options.rb b/lib/rdoc/ri/ri_options.rb index ca74884b9a..179ef96cea 100644 --- a/lib/rdoc/ri/ri_options.rb +++ b/lib/rdoc/ri/ri_options.rb @@ -62,11 +62,11 @@ module RI (RI::Paths::HOMEDIR || "No ~/.rdoc found") ], [ "--gems", nil, nil, - "Include documentation from RubyGems:\n " + + "Include documentation from RubyGems:\n" + (RI::Paths::GEMDIRS ? - Gem.path.map { |dir| "#{dir}/doc/*/ri" }.join("\n") : + Gem.path.map { |dir| " #{dir}/doc/*/ri" }.join("\n") : "No Rubygems ri found.") ], - + [ "--format", "-f", "", "Format to use when displaying output:\n" + " " + RI::TextFormatter.list + "\n" +