From 57b744680c44aa3840c2e87729fb4f66128b1179 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Fri, 9 Nov 2018 04:05:38 +0300 Subject: [PATCH] docs: bottle is a valid formula specifier, too --- Library/Homebrew/manpages/brew.1.md.erb | 7 ++++--- docs/Manpage.md | 7 ++++--- manpages/brew.1 | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Library/Homebrew/manpages/brew.1.md.erb b/Library/Homebrew/manpages/brew.1.md.erb index 3488c08878..4ed0b8cba1 100644 --- a/Library/Homebrew/manpages/brew.1.md.erb +++ b/Library/Homebrew/manpages/brew.1.md.erb @@ -99,10 +99,11 @@ can take several different forms: You can still access these formulae by using a special syntax, e.g. `homebrew/dupes/vim` or `homebrew/versions/node4`. - * An arbitrary URL: + * An arbitrary file or URL: Homebrew can install formulae via URL, e.g. - `https://raw.github.com/Homebrew/homebrew-core/master/Formula/git.rb`. - The formula file will be cached for later use. + `https://raw.github.com/Homebrew/homebrew-core/master/Formula/git.rb`, + or from a local path. It could point to either a formula file or a bottle. + In the case of a URL, the downloaded file will be cached for later use. ## ENVIRONMENT diff --git a/docs/Manpage.md b/docs/Manpage.md index 0c9301ce3e..b54ddad0f0 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1100,10 +1100,11 @@ can take several different forms: You can still access these formulae by using a special syntax, e.g. `homebrew/dupes/vim` or `homebrew/versions/node4`. - * An arbitrary URL: + * An arbitrary file or URL: Homebrew can install formulae via URL, e.g. - `https://raw.github.com/Homebrew/homebrew-core/master/Formula/git.rb`. - The formula file will be cached for later use. + `https://raw.github.com/Homebrew/homebrew-core/master/Formula/git.rb`, + or from a local path. It could point to either a formula file or a bottle. + In the case of a URL, the downloaded file will be cached for later use. ## ENVIRONMENT diff --git a/manpages/brew.1 b/manpages/brew.1 index afe3f73b3a..aeb99d00a6 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1230,8 +1230,8 @@ The fully\-qualified name of a tapped formula Sometimes a formula from a tapped repository may conflict with one in \fBhomebrew/core\fR\. You can still access these formulae by using a special syntax, e\.g\. \fBhomebrew/dupes/vim\fR or \fBhomebrew/versions/node4\fR\. . .TP -An arbitrary URL -Homebrew can install formulae via URL, e\.g\. \fBhttps://raw\.github\.com/Homebrew/homebrew\-core/master/Formula/git\.rb\fR\. The formula file will be cached for later use\. +An arbitrary file or URL +Homebrew can install formulae via URL, e\.g\. \fBhttps://raw\.github\.com/Homebrew/homebrew\-core/master/Formula/git\.rb\fR, or from a local path\. It could point to either a formula file or a bottle\. In the case of a URL, the downloaded file will be cached for later use\. . .SH "ENVIRONMENT" Note that environment variables must have a value set to be detected\. For example, \fBexport HOMEBREW_NO_INSECURE_REDIRECT=1\fR rather than just \fBexport HOMEBREW_NO_INSECURE_REDIRECT\fR\.