aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDorian2016-11-09 15:08:12 +0100
committerGitHub2016-11-09 15:08:12 +0100
commit702d07917ee3fbeba831c7a95527e1b71baf08a6 (patch)
treea0d3016673cf6d23ec6b8328223466c5794a06f9 /Library
parentc091882246fb794e5a70f13e5e1937075bfc65df (diff)
downloadbrew-702d07917ee3fbeba831c7a95527e1b71baf08a6.tar.bz2
Update the CaskAlreadyInstalledError with new reinstall command
e.g. this changes: ``` To re-install google-chrome, run: brew cask uninstall --force google-chrome && brew cask install google-chrome ``` To: ``` To re-install google-chrome, run: brew cask reinstall google-chrome ```
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/exceptions.rb b/Library/Homebrew/cask/lib/hbc/exceptions.rb
index c323f6c4c..8a128a52b 100644
--- a/Library/Homebrew/cask/lib/hbc/exceptions.rb
+++ b/Library/Homebrew/cask/lib/hbc/exceptions.rb
@@ -41,7 +41,7 @@ module Hbc
def reinstall_message
<<-EOS.undent
To re-install #{token}, run:
- brew cask uninstall --force #{token} && brew cask install #{token}
+ brew cask reinstall #{token}
EOS
end
end