diff options
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r-- | lib/bundler/cli.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index ab48d660..7ddd7794 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -445,10 +445,10 @@ module Bundler end desc "add GEM [VERSION]", "Add the specified gem to the bottom of Gemfile" - method_option "group", :type => :array, :desc => "Specify groups to add the gem in" - method_option "source", :type => :string, :desc => "Specify the gem's source" - method_option "pre", :type => :boolean, :default => false, :desc => "Check for newer pre-release gems" - method_option "append-timestamp", :type => :boolean, :default => false, :desc => "Append timestamp to Gemfile" + method_option "group", :type => :array, :aliases => "-g", :desc => "Specify groups to add the gem in" + method_option "source", :type => :string, :aliases => "-s", :desc => "Specify the gem's source" + method_option "pre", :type => :boolean, :aliases => "-p", :default => false, :desc => "Check for newer pre-release gems" + method_option "timestamp", :type => :boolean, :aliases => "-t", :default => false, :desc => "Append timestamp to Gemfile" def add(name, version = nil, *gems) require "bundler/cli/inject" Inject.new(options, name, version, gems).run |