Add --interactive to brew reinstall

More often than I realised, I want to `brew reinstall
--build-from-source --interactive $FORMULA` to add some custom
configuration. It seems like a useful addition?
This commit is contained in:
Samuel Cochran 2020-02-04 15:48:36 +11:00
parent 2555e43a6d
commit 4c91ca06db
No known key found for this signature in database
GPG Key ID: 1A36ACA1BDECD23E

View File

@ -26,6 +26,10 @@ module Homebrew
"or a shell inside the temporary build directory." "or a shell inside the temporary build directory."
switch "-s", "--build-from-source", switch "-s", "--build-from-source",
description: "Compile <formula> from source even if a bottle is available." description: "Compile <formula> from source even if a bottle is available."
switch "-i", "--interactive",
description: "Download and patch <formula>, then open a shell. This allows the user to "\
"run `./configure --help` and otherwise determine how to turn the software "\
"package into a Homebrew package."
switch "--force-bottle", switch "--force-bottle",
description: "Install from a bottle if it exists for the current or newest version of "\ description: "Install from a bottle if it exists for the current or newest version of "\
"macOS, even if it would not normally be used for installation." "macOS, even if it would not normally be used for installation."