From 069b7e89a9d5ef00de12df4f0c590dcfb5842d99 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 24 Nov 2018 15:36:59 +0000 Subject: [PATCH] reinstall: add build-from-source switch. Fixes #5431. --- Library/Homebrew/cmd/reinstall.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index 0fa356dabd..9b70ff405d 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -26,6 +26,8 @@ module Homebrew If `HOMEBREW_INSTALL_CLEANUP` is set then remove previously installed versions of upgraded as well as the HOMEBREW_CACHE for that formula. EOS + switch "-s", "--build-from-source", + description: "Compile the formula> from source even if a bottle is available." switch "--display-times", description: "Print install times for each formula at the end of the run." switch :verbose