diff options
| author | Joseph Frazier | 2016-09-21 09:18:36 -0400 |
|---|---|---|
| committer | Joseph Frazier | 2016-09-21 11:37:23 -0400 |
| commit | 66ca9e79fc14f28e54f259bba94a52922728bde8 (patch) | |
| tree | eb5e48af22e4db90fd47f9bd2089816dc0c1ac98 /Library/Homebrew/cmd | |
| parent | a381b597d3ebf40887b50657df269d867a209eb7 (diff) | |
| download | brew-66ca9e79fc14f28e54f259bba94a52922728bde8.tar.bz2 | |
uninstall: improve pronoun for multiple version message
When exactly two versions of a package were installed, the uninstall
message should not read "Remove them all with...", since only one
version remains.
"Remove all versions with..." is flexible enough to avoid being
interpreted as grammatically incorrect, and it still accurately
describes the general behavior of `brew uninstall --force`.
Diffstat (limited to 'Library/Homebrew/cmd')
| -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 6ea45a770..f4ca8ff87 100644 --- a/Library/Homebrew/cmd/uninstall.rb +++ b/Library/Homebrew/cmd/uninstall.rb @@ -25,7 +25,7 @@ module Homebrew versions = rack.subdirs.map(&:basename) verb = versions.length == 1 ? "is" : "are" puts "#{keg.name} #{versions.join(", ")} #{verb} still installed." - puts "Remove them all with `brew uninstall --force #{keg.name}`." + puts "Remove all versions with `brew uninstall --force #{keg.name}`." end end end |
