summaryrefslogtreecommitdiff
path: root/lib/bundler/cli.rb
diff options
context:
space:
mode:
authorBaumgarten <baumgarten@localhost.localdomain>2019-04-13 19:51:41 +0300
committerBaumgarten <baumgarten@localhost.localdomain>2019-04-13 19:51:41 +0300
commit2aab1fd231f2af3a0f0a5888a7d5bb5cd079ceb6 (patch)
tree94e527f54c793942cd8cbc2a18fb86edbf06cb9d /lib/bundler/cli.rb
parent52e329f4385b73923a343e413cd36f7323448e6d (diff)
downloadbundler-2aab1fd231f2af3a0f0a5888a7d5bb5cd079ceb6.tar.gz
Add git and branch options to `bundle add`
Diffstat (limited to 'lib/bundler/cli.rb')
-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 00ee591731..e0a97ac1b7 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -363,6 +363,8 @@ module Bundler
method_option "version", :aliases => "-v", :type => :string
method_option "group", :aliases => "-g", :type => :string
method_option "source", :aliases => "-s", :type => :string
+ method_option "git", :type => :string
+ method_option "branch", :type => :string
method_option "skip-install", :type => :boolean, :banner =>
"Adds gem to the Gemfile but does not install it"
method_option "optimistic", :type => :boolean, :banner => "Adds optimistic declaration of version to gem"