aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/fetch.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-01-02 16:05:14 +0000
committerMike McQuaid2017-01-02 16:05:14 +0000
commit79f9896d2ffd03819236318c9f0742d40f1826ac (patch)
treea0b53457a44cb252168c2fa18dc89bfabde1b229 /Library/Homebrew/cmd/fetch.rb
parente84e4b5566ac9211481af2ab7c74cd7ad617d958 (diff)
downloadbrew-79f9896d2ffd03819236318c9f0742d40f1826ac.tar.bz2
bottles: --force-bottle feigns or_later.
When reproducing issues with software that hasn’t been bottled yet on your version of macOS it can sometimes be helpful to use `or_later` bottle functionality i.e. just use the bottle for the latest version of macOS available. This maps well to the existing `--force-bottle` argument so it will now act as if the latest bottle has a `or_later` ending.
Diffstat (limited to 'Library/Homebrew/cmd/fetch.rb')
-rw-r--r--Library/Homebrew/cmd/fetch.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb
index f92ef03b2..820a27e31 100644
--- a/Library/Homebrew/cmd/fetch.rb
+++ b/Library/Homebrew/cmd/fetch.rb
@@ -18,8 +18,9 @@
#: If `--build-from-source` is passed, download the source rather than a
#: bottle.
#:
-#: If `--force-bottle` is passed, download a bottle if it exists for the current
-#: version of macOS, even if it would not be used during installation.
+#: 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
+#: installation.
require "formula"