summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-05 21:48:16 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-05 21:48:16 +0000
commitfbae4f97ee2a7d3b67cacd00c76589294a561c8a (patch)
tree34e42d09f0d8020849d4cb642bb4d03cdbfb7702 /bin
parent794e035046f8694d5085ce2aaaa3c5afe625eaa9 (diff)
Add RDoc to build. Add --ri-system to RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ri2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ri b/bin/ri
index 4988500..49d8849 100755
--- a/bin/ri
+++ b/bin/ri
@@ -28,7 +28,7 @@ class RiDisplay
def initialize
@options = RI::Options.instance
@options.parse
- paths = RI::Paths::PATH
+ paths = @options.paths || RI::Paths::PATH
if paths.empty?
$stderr.puts "No ri documentation found in:"
[ RI::Paths::SYSDIR, RI::Paths::SITEDIR, RI::Paths::HOMEDIR].each do |d|