From e41c4e502987d49bda9d86ad8ecd1b4e213ba9c5 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 27 Sep 2016 21:56:06 +0100 Subject: [PATCH] uninstall: better message when dependents remain Suggested by @MikeMcQuaid --- 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 3d40c23509d4e..d9d3ef883a2fc 100644 --- a/Library/Homebrew/cmd/uninstall.rb +++ b/Library/Homebrew/cmd/uninstall.rb @@ -21,7 +21,7 @@ def uninstall dependants_output = dependants.map { |k| "#{k.name} #{k.version}" }.join(", ") conjugation = dependants.count == 1 ? "is" : "are" ofail "Refusing to uninstall #{keg} because it is required by #{dependants_output}, which #{conjugation} currently installed." - puts "Remove it anyway with `brew uninstall --force #{keg.name}`." + puts "You can override this and force removal with `brew uninstall --force #{keg.name}`." next end