diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-24 02:44:13 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-24 02:44:13 +0000 |
commit | 1b5ca8e6174878a3554346f1c53567040a532be2 (patch) | |
tree | c7e90f81f30d87c1257a9467f757848ea829f44f /lib/rdoc | |
parent | 25023750f9a11997715f84c31de94af12ec5ae19 (diff) | |
download | ruby-1b5ca8e6174878a3554346f1c53567040a532be2.tar.gz ruby-1b5ca8e6174878a3554346f1c53567040a532be2.tar.xz ruby-1b5ca8e6174878a3554346f1c53567040a532be2.zip |
Fix formatting of multiple paths
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc')
-rw-r--r-- | lib/rdoc/ri/ri_options.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rdoc/ri/ri_options.rb b/lib/rdoc/ri/ri_options.rb index ca74884b9..179ef96ce 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", "<name>", "Format to use when displaying output:\n" + " " + RI::TextFormatter.list + "\n" + |