diff --git a/Library/Homebrew/cask/exceptions.rb b/Library/Homebrew/cask/exceptions.rb index 7a97f7f133..00113d2a86 100644 --- a/Library/Homebrew/cask/exceptions.rb +++ b/Library/Homebrew/cask/exceptions.rb @@ -99,7 +99,7 @@ module Cask Cask '#{token}' is already installed. To re-install #{token}, run: - #{Formatter.identifier("brew cask reinstall #{token}")} + #{Formatter.identifier("brew reinstall #{token}")} EOS end end diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index ff7d549fbe..9ebd2f88e3 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -245,7 +245,7 @@ module Homebrew Your XQuartz (#{MacOS::XQuartz.version}) is outdated. Please install XQuartz #{MacOS::XQuartz.latest_version} (or delete the current version). XQuartz can be updated using Homebrew Cask by running: - brew cask reinstall xquartz + brew reinstall xquartz EOS end