Document 'install --devel'
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
8b88ea3eae
commit
093974f200
@ -127,11 +127,11 @@ _brew_to_completion()
|
|||||||
local opts=$(
|
local opts=$(
|
||||||
local opts=(--force --verbose --debug --use-clang --use-gcc
|
local opts=(--force --verbose --debug --use-clang --use-gcc
|
||||||
--use-llvm --ignore-dependencies --build-from-source --HEAD
|
--use-llvm --ignore-dependencies --build-from-source --HEAD
|
||||||
--interactive --fresh $(brew options --compact "$prev"))
|
--interactive --fresh --devel $(brew options --compact "$prev"))
|
||||||
|
|
||||||
# options that make sense with '--interactive'
|
# options that make sense with '--interactive'
|
||||||
if [[ "${COMP_WORDS[*]}" =~ "--interactive" ]]; then
|
if [[ "${COMP_WORDS[*]}" =~ "--interactive" ]]; then
|
||||||
opts=(--force --git --use-clang --use-gcc --use-llvm --HEAD)
|
opts=(--force --git --use-clang --use-gcc --use-llvm --HEAD --devel)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for o in ${opts[*]}; do
|
for o in ${opts[*]}; do
|
||||||
|
@ -134,7 +134,7 @@ For the full command list, see the COMMANDS section.
|
|||||||
* `info` <URL>:
|
* `info` <URL>:
|
||||||
Print the name and version that will be detected for <URL>.
|
Print the name and version that will be detected for <URL>.
|
||||||
|
|
||||||
* `install [--force] [--debug] [--ignore-dependencies] [--fresh] [--use-clang] [--use-gcc] [--use-llvm] [--build-from-source] [--HEAD]` <formula>:
|
* `install [--force] [--debug] [--ignore-dependencies] [--fresh] [--use-clang] [--use-gcc] [--use-llvm] [--build-from-source] [--devel] [--HEAD]` <formula>:
|
||||||
Install <formula>.
|
Install <formula>.
|
||||||
|
|
||||||
<formula> is usually the name of the formula to install, but may also be
|
<formula> is usually the name of the formula to install, but may also be
|
||||||
@ -165,8 +165,10 @@ For the full command list, see the COMMANDS section.
|
|||||||
If `--build-from-source` is passed, compile from source even if a bottle
|
If `--build-from-source` is passed, compile from source even if a bottle
|
||||||
is provided for <formula>.
|
is provided for <formula>.
|
||||||
|
|
||||||
|
If `--devel` is passed, and <formula> defines it, install the development version.
|
||||||
|
|
||||||
If `--HEAD` is passed, and <formula> defines it, install the HEAD version,
|
If `--HEAD` is passed, and <formula> defines it, install the HEAD version,
|
||||||
aka master, trunk, unstable, dev.
|
aka master, trunk, unstable.
|
||||||
|
|
||||||
To install a newer version of HEAD use
|
To install a newer version of HEAD use
|
||||||
`brew rm <foo> && brew install --HEAD <foo>`
|
`brew rm <foo> && brew install --HEAD <foo>`
|
||||||
|
@ -158,7 +158,7 @@ To view formula history locally: \fBbrew log \-p <formula>\fR\.
|
|||||||
Print the name and version that will be detected for \fIURL\fR\.
|
Print the name and version that will be detected for \fIURL\fR\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fBinstall [\-\-force] [\-\-debug] [\-\-ignore\-dependencies] [\-\-fresh] [\-\-use\-clang] [\-\-use\-gcc] [\-\-use\-llvm] [\-\-build\-from\-source] [\-\-HEAD]\fR \fIformula\fR
|
\fBinstall [\-\-force] [\-\-debug] [\-\-ignore\-dependencies] [\-\-fresh] [\-\-use\-clang] [\-\-use\-gcc] [\-\-use\-llvm] [\-\-build\-from\-source] [\-\-devel] [\-\-HEAD]\fR \fIformula\fR
|
||||||
Install \fIformula\fR\.
|
Install \fIformula\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
@ -189,7 +189,10 @@ If \fB\-\-use\-llvm\fR is passed, attempt to compile using the LLVM front\-end t
|
|||||||
If \fB\-\-build\-from\-source\fR is passed, compile from source even if a bottle is provided for \fIformula\fR\.
|
If \fB\-\-build\-from\-source\fR is passed, compile from source even if a bottle is provided for \fIformula\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fB\-\-HEAD\fR is passed, and \fIformula\fR defines it, install the HEAD version, aka master, trunk, unstable, dev\.
|
If \fB\-\-devel\fR is passed, and \fIformula\fR defines it, install the development version\.
|
||||||
|
.
|
||||||
|
.IP
|
||||||
|
If \fB\-\-HEAD\fR is passed, and \fIformula\fR defines it, install the HEAD version, aka master, trunk, unstable\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
To install a newer version of HEAD use \fBbrew rm <foo> && brew install \-\-HEAD <foo>\fR or \fBbrew install \-\-force \-\-HEAD <foo>\fR\.
|
To install a newer version of HEAD use \fBbrew rm <foo> && brew install \-\-HEAD <foo>\fR or \fBbrew install \-\-force \-\-HEAD <foo>\fR\.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user