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:
parent
37855698ff
commit
836a01c510
1 changed files with 3 additions and 3 deletions
|
@ -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" +
|
||||||
|
|
Loading…
Reference in a new issue