From a691768c8126f9713c456a8f3d49667fe94d3d1b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 1 Feb 2022 08:39:40 +0000 Subject: [PATCH] cask/exceptions: fix reinstall cask messaging. Fixes #12813. --- Library/Homebrew/cask/exceptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/exceptions.rb b/Library/Homebrew/cask/exceptions.rb index 31916b42dc..0957fd0e2f 100644 --- a/Library/Homebrew/cask/exceptions.rb +++ b/Library/Homebrew/cask/exceptions.rb @@ -148,7 +148,7 @@ module Cask Cask '#{token}' is already installed. To re-install #{token}, run: - #{Formatter.identifier("brew reinstall #{token}")} + #{Formatter.identifier("brew reinstall --cask #{token}")} EOS end end