ruby-changes:3077
From: ko1@a...
Date: 24 Dec 2007 11:44:21 +0900
Subject: [ruby-changes:3077] drbrain - Ruby:r14569 (trunk): Fix formatting of multiple paths
drbrain 2007-12-24 11:44:13 +0900 (Mon, 24 Dec 2007)
New Revision: 14569
Modified files:
trunk/lib/rdoc/ri/ri_options.rb
Log:
Fix formatting of multiple paths
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/rdoc/ri/ri_options.rb?r1=14569&r2=14568
Index: lib/rdoc/ri/ri_options.rb
===================================================================
--- lib/rdoc/ri/ri_options.rb (revision 14568)
+++ lib/rdoc/ri/ri_options.rb (revision 14569)
@@ -62,11 +62,11 @@
(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" +
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml