From ea3a41e213f9462bc62099c607986356428dd55d Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 30 Dec 2016 17:44:18 +0000 Subject: [PATCH] uninstall: better example in dependency warning Previously, this only included a subset of all the kegs the user was trying to uninstall. With this change, all named formulae/kegs will be included in the example command. --- Library/Homebrew/cmd/uninstall.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb index 505d4e4b2b..daae791a30 100644 --- a/Library/Homebrew/cmd/uninstall.rb +++ b/Library/Homebrew/cmd/uninstall.rb @@ -121,7 +121,7 @@ module Homebrew end def sample_command - "brew uninstall --ignore-dependencies #{list reqs.map(&:name)}" + "brew uninstall --ignore-dependencies #{list ARGV.named}" end def are_required_by_deps