cmd/fetch: add missing --build-bottle argument.

This commit is contained in:
Mike McQuaid 2019-01-29 11:35:04 +00:00
parent a6a3ed1cee
commit fe8f3218d3
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
3 changed files with 8 additions and 6 deletions

View File

@ -15,8 +15,8 @@
#:
#: If `--deps` is passed, also download dependencies for any listed <formulae>.
#:
#: If `--build-from-source` (or `-s`) is passed, download the source rather than a
#: bottle.
#: If `--build-from-source` (or `-s`) or `--build-bottle` is passed, download the
#: source rather than a bottle.
#:
#: If `--force-bottle` is passed, download a bottle if it exists for the
#: current or newest version of macOS, even if it would not be used during
@ -52,7 +52,9 @@ module Homebrew
switch "--deps",
description: "Download dependencies for any listed <formulae>."
switch "-s", "--build-from-source",
description: "Download the source rather than a bottle."
description: "Download the source for rather than a bottle."
switch "--build-bottle",
description: "Download the source (for eventual bottling) rather than a bottle."
switch "--force-bottle",
description: "Download a bottle if it exists for the current or newest version of macOS, "\
"even if it would not be used during installation."

View File

@ -171,8 +171,8 @@ these flags should only appear after a command.
If `--deps` is passed, also download dependencies for any listed *`formulae`*.
If `--build-from-source` (or `-s`) is passed, download the source rather than a
bottle.
If `--build-from-source` (or `-s`) or `--build-bottle` is passed, download the
source rather than a bottle.
If `--force-bottle` is passed, download a bottle if it exists for the
current or newest version of macOS, even if it would not be used during

View File

@ -174,7 +174,7 @@ If \fB\-\-retry\fR is passed, retry if a download fails or re\-download if the c
If \fB\-\-deps\fR is passed, also download dependencies for any listed \fIformulae\fR\.
.
.IP
If \fB\-\-build\-from\-source\fR (or \fB\-s\fR) is passed, download the source rather than a bottle\.
If \fB\-\-build\-from\-source\fR (or \fB\-s\fR) or \fB\-\-build\-bottle\fR is passed, download the source rather than a bottle\.
.
.IP
If \fB\-\-force\-bottle\fR is passed, download a bottle if it exists for the current or newest version of macOS, even if it would not be used during installation\.