manpage: Recommend using ./ for local file formulae

This commit is contained in:
Tom 2020-11-20 11:54:40 +00:00 committed by Tom M
parent 570edcc0cc
commit 989dc3e10b
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\.