Created
November 22, 2010 04:07
-
-
Save ivey/709502 to your computer and use it in GitHub Desktop.
This should really be on all commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb | |
index 8e562c7..5cded5d 100644 | |
--- a/lib/bundler/cli.rb | |
+++ b/lib/bundler/cli.rb | |
@@ -155,6 +155,10 @@ module Bundler | |
method_option "production", :type => :boolean, :banner => | |
"Deprecated, please use --deployment instead" | |
def install(path = nil) | |
+ if path == "help" | |
+ help("install") | |
+ exit | |
+ end | |
opts = options.dup | |
opts[:without] ||= [] | |
if opts[:without].size == 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment