Include cask in brew install help text.
This commit is contained in:
parent
2ee30b8067
commit
67519d487a
@ -109,12 +109,13 @@ module Homebrew
|
|||||||
|
|
||||||
Homebrew::CLI::Parser.new do
|
Homebrew::CLI::Parser.new do
|
||||||
usage_banner <<~EOS
|
usage_banner <<~EOS
|
||||||
`install` [<options>] <formula>
|
`install` [<options>] <formula>|<cask>
|
||||||
|
|
||||||
Install <formula>. Additional options specific to <formula> may be appended to the command.
|
Install a <formula> or <cask>. Additional options specific to a <formula> may be
|
||||||
|
appended to the command.
|
||||||
|
|
||||||
Unless `HOMEBREW_NO_INSTALL_CLEANUP` is set, `brew cleanup` will then be run for the
|
Unless `HOMEBREW_NO_INSTALL_CLEANUP` is set, `brew cleanup` will then be run for
|
||||||
installed formulae or, every 30 days, for all formulae.
|
the installed formulae or, every 30 days, for all formulae.
|
||||||
EOS
|
EOS
|
||||||
switch "-d", "--debug",
|
switch "-d", "--debug",
|
||||||
description: "If brewing fails, open an interactive debugging session with access to IRB "\
|
description: "If brewing fails, open an interactive debugging session with access to IRB "\
|
||||||
@ -139,7 +140,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
formula_options
|
formula_options
|
||||||
min_named :formula
|
min_named 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -304,12 +304,13 @@ If *`formula`* is provided, show summary of information about *`formula`*.
|
|||||||
* `-v`, `--verbose`:
|
* `-v`, `--verbose`:
|
||||||
Show more verbose analytics data for *`formula`*.
|
Show more verbose analytics data for *`formula`*.
|
||||||
|
|
||||||
### `install` [*`options`*] *`formula`*
|
### `install` [*`options`*] *`formula`*|*`cask`*
|
||||||
|
|
||||||
Install *`formula`*. Additional options specific to *`formula`* may be appended to the command.
|
Install a *`formula`* or *`cask`*. Additional options specific to a *`formula`* may be
|
||||||
|
appended to the command.
|
||||||
|
|
||||||
Unless `HOMEBREW_NO_INSTALL_CLEANUP` is set, `brew cleanup` will then be run for the
|
Unless `HOMEBREW_NO_INSTALL_CLEANUP` is set, `brew cleanup` will then be run for
|
||||||
installed formulae or, every 30 days, for all formulae.
|
the installed formulae or, every 30 days, for all formulae.
|
||||||
|
|
||||||
* `-d`, `--debug`:
|
* `-d`, `--debug`:
|
||||||
If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory.
|
If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory.
|
||||||
|
|||||||
@ -445,8 +445,8 @@ Print JSON of all available formulae\.
|
|||||||
\fB\-v\fR, \fB\-\-verbose\fR
|
\fB\-v\fR, \fB\-\-verbose\fR
|
||||||
Show more verbose analytics data for \fIformula\fR\.
|
Show more verbose analytics data for \fIformula\fR\.
|
||||||
.
|
.
|
||||||
.SS "\fBinstall\fR [\fIoptions\fR] \fIformula\fR"
|
.SS "\fBinstall\fR [\fIoptions\fR] \fIformula\fR|\fIcask\fR"
|
||||||
Install \fIformula\fR\. Additional options specific to \fIformula\fR may be appended to the command\.
|
Install a \fIformula\fR or \fIcask\fR\. Additional options specific to a \fIformula\fR may be appended to the command\.
|
||||||
.
|
.
|
||||||
.P
|
.P
|
||||||
Unless \fBHOMEBREW_NO_INSTALL_CLEANUP\fR is set, \fBbrew cleanup\fR will then be run for the installed formulae or, every 30 days, for all formulae\.
|
Unless \fBHOMEBREW_NO_INSTALL_CLEANUP\fR is set, \fBbrew cleanup\fR will then be run for the installed formulae or, every 30 days, for all formulae\.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user