mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
cmd/install: add --bottle-arch.
This argument was missing when the command-line parser code was added. Fixes #5741.
This commit is contained in:
parent
2ca56f6731
commit
c25261a665
@ -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."
|
||||||
|
@ -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`:
|
||||||
|
@ -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\.
|
||||||
.
|
.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user