diff options
author | Agis Anastasopoulos <agis.anast@gmail.com> | 2015-10-30 14:09:30 +0200 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-07-05 15:11:19 -0300 |
commit | 3ea9aa894003076509cbab1d2a62017a35c086f6 (patch) | |
tree | 891c7a03c7b68462eef26eeb93c720a1e7df51e9 /lib/bundler/cli.rb | |
parent | cc3abfc62c959b567c768a87f505999ceee49c1f (diff) | |
download | bundler-3ea9aa894003076509cbab1d2a62017a35c086f6.tar.gz |
Deprecate `bundle list`
Refs. #3972.
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r-- | lib/bundler/cli.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index fd3401ea..a054aff2 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -224,6 +224,9 @@ module Bundler method_option "outdated", :type => :boolean, :banner => "Show verbose output including whether gems are outdated." def show(gem_name = nil) + # TODO: 2.0 remove `bundle list` + Bundler.ui.deprecate("`bundle list` is deprecated and will be removed in " \ + "Bundler 2.0. Use `bundle show` instead.", true) if ARGV[0] == "list" require "bundler/cli/show" Show.new(options, gem_name).run end |