Document brew link --force

This commit is contained in:
Jack Nagel 2013-04-13 14:10:08 -05:00
parent 7f9bd7a067
commit e0ea3f0090
2 changed files with 7 additions and 2 deletions

View File

@ -185,7 +185,7 @@ Note that these flags should only appear after a command.
If `--git` is passed, Homebrew will create a Git repository, useful for If `--git` is passed, Homebrew will create a Git repository, useful for
creating patches to the software. creating patches to the software.
* `ln`, `link [--overwrite] [--dry-run]` <formula>: * `ln`, `link [--overwrite] [--dry-run] [--force]` <formula>:
Symlink all of <formula>'s installed files into the Homebrew prefix. This Symlink all of <formula>'s installed files into the Homebrew prefix. This
is done automatically when you install formula, but can be useful for DIY is done automatically when you install formula, but can be useful for DIY
installations. installations.
@ -197,6 +197,8 @@ Note that these flags should only appear after a command.
be linked or which would be deleted by `brew link --overwrite`, but will not be linked or which would be deleted by `brew link --overwrite`, but will not
actually link or delete any files. actually link or delete any files.
If `--force` is passed, Homebrew will allow keg-only formulae to be linked.
* `ls, list [--unbrewed] [--versions] [--pinned]` [<formulae>]: * `ls, list [--unbrewed] [--versions] [--pinned]` [<formulae>]:
Without any arguments, list all installed formulae. Without any arguments, list all installed formulae.

View File

@ -208,7 +208,7 @@ Download and patch \fIformula\fR, then open a shell\. This allows the user to ru
If \fB\-\-git\fR is passed, Homebrew will create a Git repository, useful for creating patches to the software\. If \fB\-\-git\fR is passed, Homebrew will create a Git repository, useful for creating patches to the software\.
. .
.TP .TP
\fBln\fR, \fBlink [\-\-overwrite] [\-\-dry\-run]\fR \fIformula\fR \fBln\fR, \fBlink [\-\-overwrite] [\-\-dry\-run] [\-\-force]\fR \fIformula\fR
Symlink all of \fIformula\fR\'s installed files into the Homebrew prefix\. This is done automatically when you install formula, but can be useful for DIY installations\. Symlink all of \fIformula\fR\'s installed files into the Homebrew prefix\. This is done automatically when you install formula, but can be useful for DIY installations\.
. .
.IP .IP
@ -217,6 +217,9 @@ If \fB\-\-overwrite\fR is passed, Homebrew will delete files which already exist
.IP .IP
If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, Homebrew will list all files which would be linked or which would be deleted by \fBbrew link \-\-overwrite\fR, but will not actually link or delete any files\. If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, Homebrew will list all files which would be linked or which would be deleted by \fBbrew link \-\-overwrite\fR, but will not actually link or delete any files\.
. .
.IP
If \fB\-\-force\fR is passed, Homebrew will allow keg\-only formulae to be linked\.
.
.TP .TP
\fBls, list [\-\-unbrewed] [\-\-versions] [\-\-pinned]\fR [\fIformulae\fR] \fBls, list [\-\-unbrewed] [\-\-versions] [\-\-pinned]\fR [\fIformulae\fR]
Without any arguments, list all installed formulae\. Without any arguments, list all installed formulae\.