Skip to content

Commit

Permalink
cmd/fetch: add missing --build-bottle argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jan 29, 2019
1 parent a6a3ed1 commit fe8f321
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions Library/Homebrew/cmd/fetch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -52,7 +52,9 @@ def fetch_args
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."
Expand Down
4 changes: 2 additions & 2 deletions docs/Manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion manpages/brew.1
Original file line number Diff line number Diff line change
Expand Up @@ -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\.
Expand Down

0 comments on commit fe8f321

Please sign in to comment.