diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb index b165a97ff8a3b..3b870b364038b 100644 --- a/Library/Homebrew/cmd/fetch.rb +++ b/Library/Homebrew/cmd/fetch.rb @@ -15,8 +15,8 @@ #: #: If `--deps` is passed, also download dependencies for any listed . #: -#: 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 @@ def fetch_args switch "--deps", description: "Download dependencies for any listed ." 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." diff --git a/docs/Manpage.md b/docs/Manpage.md index 2c7117f1a750a..347651074a647 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -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 diff --git a/manpages/brew.1 b/manpages/brew.1 index 4aa57bc90ceaf..43d412423e7e9 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -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\.