diff options
| author | Alyssa Ross | 2016-09-27 21:56:06 +0100 |
|---|---|---|
| committer | Alyssa Ross | 2016-10-25 22:34:34 +0100 |
| commit | e41c4e502987d49bda9d86ad8ecd1b4e213ba9c5 (patch) | |
| tree | efb49f58c088569684f099085ad6d6b7228286fc | |
| parent | 6f0aabe70700654fdd19d1800fa61f4cdea25266 (diff) | |
| download | brew-e41c4e502987d49bda9d86ad8ecd1b4e213ba9c5.tar.bz2 | |
uninstall: better message when dependents remain
Suggested by @MikeMcQuaid
| -rw-r--r-- | Library/Homebrew/cmd/uninstall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb index 3d40c2350..d9d3ef883 100644 --- a/Library/Homebrew/cmd/uninstall.rb +++ b/Library/Homebrew/cmd/uninstall.rb @@ -21,7 +21,7 @@ module Homebrew 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 |
