reinstall/upgrade: document use of options.

To avoid user confusion e.g. #3606.
This commit is contained in:
Mike McQuaid 2017-12-30 21:23:33 +00:00
parent 176ed97d42
commit 7eb1fd6671
4 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
#: * `reinstall` <formula>: #: * `reinstall` <formula>:
#: Uninstall and then install <formula>. #: Uninstall and then install <formula> (with existing install options).
require "formula_installer" require "formula_installer"
require "development_tools" require "development_tools"

View File

@ -1,5 +1,5 @@
#: * `upgrade` [<install-options>] [`--cleanup`] [`--fetch-HEAD`] [<formulae>]: #: * `upgrade` [<install-options>] [`--cleanup`] [`--fetch-HEAD`] [<formulae>]:
#: Upgrade outdated, unpinned brews. #: Upgrade outdated, unpinned brews (with existing install options).
#: #:
#: Options for the `install` command are also valid here. #: Options for the `install` command are also valid here.
#: #:

View File

@ -397,7 +397,7 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
all formulae or to determine if any current formulae have Ruby issues. all formulae or to determine if any current formulae have Ruby issues.
* `reinstall` `formula`: * `reinstall` `formula`:
Uninstall and then install `formula`. Uninstall and then install `formula` (with existing install options).
* `search`, `-S`: * `search`, `-S`:
Display all locally available formulae for brewing (including tapped ones). Display all locally available formulae for brewing (including tapped ones).
@ -569,7 +569,7 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
or committed changes. or committed changes.
* `upgrade` [`install-options`] [`--cleanup`] [`--fetch-HEAD`] [`formulae`]: * `upgrade` [`install-options`] [`--cleanup`] [`--fetch-HEAD`] [`formulae`]:
Upgrade outdated, unpinned brews. Upgrade outdated, unpinned brews (with existing install options).
Options for the `install` command are also valid here. Options for the `install` command are also valid here.

View File

@ -406,7 +406,7 @@ This can be useful for debugging issues across all formulae when making signific
. .
.TP .TP
\fBreinstall\fR \fIformula\fR \fBreinstall\fR \fIformula\fR
Uninstall and then install \fIformula\fR\. Uninstall and then install \fIformula\fR (with existing install options)\.
. .
.TP .TP
\fBsearch\fR, \fB\-S\fR \fBsearch\fR, \fB\-S\fR
@ -584,7 +584,7 @@ Fetches and resets Homebrew and all tap repositories using \fBgit\fR(1) to their
. .
.TP .TP
\fBupgrade\fR [\fIinstall\-options\fR] [\fB\-\-cleanup\fR] [\fB\-\-fetch\-HEAD\fR] [\fIformulae\fR] \fBupgrade\fR [\fIinstall\-options\fR] [\fB\-\-cleanup\fR] [\fB\-\-fetch\-HEAD\fR] [\fIformulae\fR]
Upgrade outdated, unpinned brews\. Upgrade outdated, unpinned brews (with existing install options)\.
. .
.IP .IP
Options for the \fBinstall\fR command are also valid here\. Options for the \fBinstall\fR command are also valid here\.