diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 061d78ea23..0369d1d8ef 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -64,6 +64,9 @@ module Homebrew description: "Don't delete the temporary files created during installation." switch "--build-bottle", description: "Prepare the formula for eventual bottling during installation." + switch "--bottle-arch=", + description: "Optimise bottles for the given architecture rather than the oldest "\ + "architecture supported by the version of macOS the bottles are built on." switch :force, description: "Install without checking for previously installed keg-only or "\ "non-migrated versions." diff --git a/docs/Manpage.md b/docs/Manpage.md index 38adea590c..2810b35639 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -245,6 +245,8 @@ Unless `HOMEBREW_NO_INSTALL_CLEANUP` is set, `brew cleanup` will be run for the Don't delete the temporary files created during installation. * `--build-bottle`: Prepare the formula for eventual bottling during installation. +* `--bottle-arch`: + Optimise bottles for the given architecture rather than the oldest architecture supported by the version of macOS the bottles are built on. * `--display-times`: Print install times for each formula at the end of the run. * `-i`, `--interactive`: diff --git a/manpages/brew.1 b/manpages/brew.1 index da3320ded1..2c6cb8d9c7 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -315,6 +315,10 @@ Don\'t delete the temporary files created during installation\. Prepare the formula for eventual bottling during installation\. . .TP +\fB\-\-bottle\-arch\fR +Optimise bottles for the given architecture rather than the oldest architecture supported by the version of macOS the bottles are built on\. +. +.TP \fB\-\-display\-times\fR Print install times for each formula at the end of the run\. .