diff options
author | Matt Brictson <mattbrictson@users.noreply.github.com> | 2015-07-11 17:12:48 -0700 |
---|---|---|
committer | Matt Brictson <mattbrictson@users.noreply.github.com> | 2015-07-11 17:12:48 -0700 |
commit | f760c49473aad720ffdb9197837b78b48584e341 (patch) | |
tree | e315e6f01f56aa205d23116bafb43cb662a72fe6 /lib/bundler/cli.rb | |
parent | 54ead324ce37f7ae5be7695ee4253d96e3542bb4 (diff) | |
download | bundler-f760c49473aad720ffdb9197837b78b48584e341.tar.gz |
Fix option description for `bundle gem`
The `--bin` option incorrectly had the description "Set a default with `bundle config gem.mit true`." I've moved this text to the appropriate place in the `--mit` description.
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r-- | lib/bundler/cli.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index cda22aaca3..cedfd2b055 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -345,13 +345,13 @@ module Bundler end desc "gem GEM [OPTIONS]", "Creates a skeleton for creating a rubygem" - method_option :bin, :type => :boolean, :default => false, :aliases => '-b', :desc => "Generate a binary for your library. Set a default with `bundle config gem.mit true`." + method_option :bin, :type => :boolean, :default => false, :aliases => '-b', :desc => "Generate a binary for your library." method_option :coc, :type => :boolean, :desc => "Generate a code of conduct file. Set a default with `bundle config gem.coc true`." method_option :edit, :type => :string, :aliases => "-e", :required => false, :banner => "EDITOR", :lazy_default => [ENV['BUNDLER_EDITOR'], ENV['VISUAL'], ENV['EDITOR']].find{|e| !e.nil? && !e.empty? }, :desc => "Open generated gemspec in the specified editor (defaults to $EDITOR or $BUNDLER_EDITOR)" method_option :ext, :type => :boolean, :default => false, :desc => "Generate the boilerplate for C extension code" - method_option :mit, :type => :boolean, :desc => "Generate an MIT license file" + method_option :mit, :type => :boolean, :desc => "Generate an MIT license file. Set a default with `bundle config gem.mit true`." method_option :test, :type => :string, :lazy_default => 'rspec', :aliases => '-t', :banner => "rspec", :desc => "Generate a test directory for your library, either rspec or minitest. Set a default with `bundle config gem.test rspec`." def gem(name) |