replace brew upgrade with brew upgrade --all.

This commit is contained in:
Xu Cheng 2015-05-06 16:19:07 +08:00
parent 83bcde2317
commit 1f7c4ee644
4 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@ Example usage:
brew search [foo]
brew list [FORMULA...]
brew update
brew upgrade [FORMULA...]
brew upgrade [--all | FORMULA...]
brew pin/unpin [FORMULA...]
Troubleshooting:

View File

@ -308,7 +308,7 @@ Note that these flags should only appear after a command.
* `pin` <formulae>:
Pin the specified <formulae>, preventing them from being upgraded when
issuing the `brew upgrade` command without arguments. See also `unpin`.
issuing the `brew upgrade --all` command without arguments. See also `unpin`.
* `prune`:
Remove dead symlinks from the Homebrew prefix. This is generally not
@ -390,7 +390,7 @@ Note that these flags should only appear after a command.
source. This is useful for creating patches for the software.
* `unpin` <formulae>:
Unpin <formulae>, allowing them to be upgraded by `brew upgrade`. See also
Unpin <formulae>, allowing them to be upgraded by `brew upgrade --all`. See also
`pin`.
* `untap` <tap>:

View File

@ -57,7 +57,7 @@ and run `./uninstall --help` to view more uninstall options.
### How do I uninstall a formula?
If you do not uninstall all of the versions that Homebrew has installed,
Homebrew will continue to attempt to install the newest version it knows
about when you do (`brew upgrade`). This can be surprising.
about when you do (`brew upgrade --all`). This can be surprising.
To remove a formula entirely, you may do
(`brew uninstall formula_name --force`).

View File

@ -331,7 +331,7 @@ If \fB\-\-verbose\fR is passed, display detailed version information\.
.
.TP
\fBpin\fR \fIformulae\fR
Pin the specified \fIformulae\fR, preventing them from being upgraded when issuing the \fBbrew upgrade\fR command without arguments\. See also \fBunpin\fR\.
Pin the specified \fIformulae\fR, preventing them from being upgraded when issuing the \fBbrew upgrade \-\-all\fR command without arguments\. See also \fBunpin\fR\.
.
.TP
\fBprune\fR
@ -415,7 +415,7 @@ If \fB\-\-git\fR is passed, a Git repository will be initalized in the unpacked
.
.TP
\fBunpin\fR \fIformulae\fR
Unpin \fIformulae\fR, allowing them to be upgraded by \fBbrew upgrade\fR\. See also \fBpin\fR\.
Unpin \fIformulae\fR, allowing them to be upgraded by \fBbrew upgrade \-\-all\fR\. See also \fBpin\fR\.
.
.TP
\fBuntap\fR \fItap\fR