cmd/install: add --bottle-arch.

This argument was missing when the command-line parser code was added.

Fixes #5741.
This commit is contained in:
Mike McQuaid 2019-02-15 20:13:05 +00:00
parent 2ca56f6731
commit c25261a665
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
3 changed files with 9 additions and 0 deletions

View File

@ -64,6 +64,9 @@ module Homebrew
description: "Don't delete the temporary files created during installation." description: "Don't delete the temporary files created during installation."
switch "--build-bottle", switch "--build-bottle",
description: "Prepare the formula for eventual bottling during installation." 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, switch :force,
description: "Install without checking for previously installed keg-only or "\ description: "Install without checking for previously installed keg-only or "\
"non-migrated versions." "non-migrated versions."

View File

@ -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. Don't delete the temporary files created during installation.
* `--build-bottle`: * `--build-bottle`:
Prepare the formula for eventual bottling during installation. 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`: * `--display-times`:
Print install times for each formula at the end of the run. Print install times for each formula at the end of the run.
* `-i`, `--interactive`: * `-i`, `--interactive`:

View File

@ -315,6 +315,10 @@ Don\'t delete the temporary files created during installation\.
Prepare the formula for eventual bottling during installation\. Prepare the formula for eventual bottling during installation\.
. .
.TP .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 \fB\-\-display\-times\fR
Print install times for each formula at the end of the run\. Print install times for each formula at the end of the run\.
. .