1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix formatting of multiple paths

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2007-12-24 02:44:13 +00:00
parent 37855698ff
commit 836a01c510

View file

@ -62,11 +62,11 @@ module RI
(RI::Paths::HOMEDIR || "No ~/.rdoc found") ], (RI::Paths::HOMEDIR || "No ~/.rdoc found") ],
[ "--gems", nil, nil, [ "--gems", nil, nil,
"Include documentation from RubyGems:\n " + "Include documentation from RubyGems:\n" +
(RI::Paths::GEMDIRS ? (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.") ], "No Rubygems ri found.") ],
[ "--format", "-f", "<name>", [ "--format", "-f", "<name>",
"Format to use when displaying output:\n" + "Format to use when displaying output:\n" +
" " + RI::TextFormatter.list + "\n" + " " + RI::TextFormatter.list + "\n" +