Merge pull request #9241 from tmewett/patch-1

manpage: Recommend using ./ for local file formulae
This commit is contained in:
Markus Reiter 2020-11-21 18:12:06 +01:00 committed by GitHub
commit 419959c710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -104,6 +104,8 @@ can take several different forms:
* An arbitrary file: * An arbitrary file:
Homebrew can install formulae from a local path. It can point to either a Homebrew can install formulae from a local path. It can point to either a
formula file or a bottle. formula file or a bottle.
Prefix relative paths with `./` to prevent them being interpreted as a
formula or tap name.
## SPECIFYING CASKS ## SPECIFYING CASKS

View File

@ -1610,6 +1610,8 @@ can take several different forms:
* An arbitrary file: * An arbitrary file:
Homebrew can install formulae from a local path. It can point to either a Homebrew can install formulae from a local path. It can point to either a
formula file or a bottle. formula file or a bottle.
Prefix relative paths with `./` to prevent them being interpreted as a
formula or tap name.
## SPECIFYING CASKS ## SPECIFYING CASKS

View File

@ -2241,7 +2241,7 @@ Sometimes a formula from a tapped repository may conflict with one in \fBhomebre
. .
.TP .TP
An arbitrary file An arbitrary file
Homebrew can install formulae from a local path\. It can point to either a formula file or a bottle\. Homebrew can install formulae from a local path\. It can point to either a formula file or a bottle\. Prefix relative paths with \fB\./\fR to prevent them being interpreted as a formula or tap name\.
. .
.SH "SPECIFYING CASKS" .SH "SPECIFYING CASKS"
Many Homebrew Cask commands accept one or more \fIcask\fR arguments\. These can be specified the same way as the \fIformula\fR arguments described in \fBSPECIFYING FORMULAE\fR above\. Many Homebrew Cask commands accept one or more \fIcask\fR arguments\. These can be specified the same way as the \fIformula\fR arguments described in \fBSPECIFYING FORMULAE\fR above\.