diff options
author | Koichi ITO <koic.ito@gmail.com> | 2017-07-09 14:48:40 +0900 |
---|---|---|
committer | Koichi ITO <koic.ito@gmail.com> | 2017-07-09 14:48:40 +0900 |
commit | c016c325b975da76c58be99cb4af7bd0be36a4f4 (patch) | |
tree | eaf8106f31824b7246853407bc1bc0a9290bf6dc /lib/bundler/cli.rb | |
parent | 757664c0048a53f65724e76319449680e124d2bc (diff) | |
download | bundler-c016c325b975da76c58be99cb4af7bd0be36a4f4.tar.gz |
Change deprecation from `bundle list` to `bundle show`
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 786e24b2de..7992540793 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -245,11 +245,11 @@ module Bundler method_option "outdated", :type => :boolean, :banner => "Show verbose output including whether gems are outdated." def show(gem_name = nil) - Bundler::SharedHelpers.major_deprecation("use `bundle show` instead of `bundle list`") if ARGV[0] == "list" + Bundler::SharedHelpers.major_deprecation("use `bundle list` instead of `bundle show`") if ARGV[0] == "show" require "bundler/cli/show" Show.new(options, gem_name).run end - # TODO: 2.0 remove `bundle list` + # TODO: 2.0 remove `bundle show` map %w[list] => "show" desc "info GEM [OPTIONS]", "Show information for the given gem" |