From 76fefd5d3f90b2e17cafca374ea877048ac718ea Mon Sep 17 00:00:00 2001 From: Frederico Bittencourt Date: Sat, 15 Oct 2016 15:21:12 -0300 Subject: show deprecated warning on bundle show --outdated --- lib/bundler/cli/show.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/bundler/cli/show.rb b/lib/bundler/cli/show.rb index 77e845a603..a8e2cacd6d 100644 --- a/lib/bundler/cli/show.rb +++ b/lib/bundler/cli/show.rb @@ -17,6 +17,10 @@ module Bundler Bundler.load.lock end + if options[:outdated] + Bundler.ui.warn("Deprecated: use `bundle info GEM` or `bundle outdated` instead of `bundle show --outdated`") + end + if gem_name if gem_name == "bundler" path = File.expand_path("../../../..", __FILE__) -- cgit v1.2.1