reinstall: add build-from-source switch.

Fixes #5431.
This commit is contained in:
Mike McQuaid 2018-11-24 15:36:59 +00:00
parent e0c4fca756
commit 069b7e89a9
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -26,6 +26,8 @@ module Homebrew
If `HOMEBREW_INSTALL_CLEANUP` is set then remove previously installed versions If `HOMEBREW_INSTALL_CLEANUP` is set then remove previously installed versions
of upgraded <formulae> as well as the HOMEBREW_CACHE for that formula. of upgraded <formulae> as well as the HOMEBREW_CACHE for that formula.
EOS EOS
switch "-s", "--build-from-source",
description: "Compile the formula> from source even if a bottle is available."
switch "--display-times", switch "--display-times",
description: "Print install times for each formula at the end of the run." description: "Print install times for each formula at the end of the run."
switch :verbose switch :verbose