summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndré Arko <mail@arko.net>2015-08-07 19:49:15 -0700
committerAndré Arko <mail@arko.net>2015-08-07 19:49:15 -0700
commit83bdb7f7ddc95bed78c18320bd8baa2ba8f3972a (patch)
tree2a9d92a12f23cad0aa76019fbaf48ecd23b2cc1a /lib
parent46884af62bc2c8ef2d585ed35dabf11bf8784725 (diff)
parentb37d3087b9bbf89bc6d1d4ae6d0b977c20eac053 (diff)
downloadbundler-83bdb7f7ddc95bed78c18320bd8baa2ba8f3972a.tar.gz
Merge pull request #3911 from tf/command-plugin-help
Add command plugin support to help command
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/cli.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index f4cd6c0e5f..e79cd5b145 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -66,6 +66,8 @@ module Bundler
else
puts File.read("#{root}/#{command}.txt")
end
+ elsif command_path = Bundler.which("bundler-#{cli}")
+ Kernel.exec(command_path, "--help")
else
super
end