upgrade: fix the man page wrongly saying that it will upgrade pins.

This is incorrect as in order to upgrade a pinned package it must
first be unpinned.
This commit is contained in:
Peter Powell 2018-03-10 11:54:10 +00:00
parent 04efbadb9e
commit e71b2d1737
3 changed files with 5 additions and 5 deletions

View File

@ -10,8 +10,8 @@
#: repository's HEAD will be checked for updates when a new stable or devel #: repository's HEAD will be checked for updates when a new stable or devel
#: version has been released. #: version has been released.
#: #:
#: If <formulae> are given, upgrade only the specified brews (but do so even #: If <formulae> are given, upgrade only the specified brews (unless they
#: if they are pinned; see `pin`, `unpin`). #: are pinned; see `pin`, `unpin`).
require "cmd/install" require "cmd/install"
require "cleanup" require "cleanup"

View File

@ -561,8 +561,8 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
repository's HEAD will be checked for updates when a new stable or devel repository's HEAD will be checked for updates when a new stable or devel
version has been released. version has been released.
If `formulae` are given, upgrade only the specified brews (but do so even If `formulae` are given, upgrade only the specified brews (unless they
if they are pinned; see `pin`, `unpin`). are pinned; see `pin`, `unpin`).
* `uses` [`--installed`] [`--recursive`] [`--include-build`] [`--include-optional`] [`--skip-recommended`] [`--devel`|`--HEAD`] `formulae`: * `uses` [`--installed`] [`--recursive`] [`--include-build`] [`--include-optional`] [`--skip-recommended`] [`--devel`|`--HEAD`] `formulae`:
Show the formulae that specify `formulae` as a dependency. When given Show the formulae that specify `formulae` as a dependency. When given

View File

@ -576,7 +576,7 @@ If \fB\-\-cleanup\fR is specified then remove previously installed \fIformula\fR
If \fB\-\-fetch\-HEAD\fR is passed, fetch the upstream repository to detect if the HEAD installation of the formula is outdated\. Otherwise, the repository\'s HEAD will be checked for updates when a new stable or devel version has been released\. If \fB\-\-fetch\-HEAD\fR is passed, fetch the upstream repository to detect if the HEAD installation of the formula is outdated\. Otherwise, the repository\'s HEAD will be checked for updates when a new stable or devel version has been released\.
. .
.IP .IP
If \fIformulae\fR are given, upgrade only the specified brews (but do so even if they are pinned; see \fBpin\fR, \fBunpin\fR)\. If \fIformulae\fR are given, upgrade only the specified brews (unless they are pinned; see \fBpin\fR, \fBunpin\fR)\.
. .
.TP .TP
\fBuses\fR [\fB\-\-installed\fR] [\fB\-\-recursive\fR] [\fB\-\-include\-build\fR] [\fB\-\-include\-optional\fR] [\fB\-\-skip\-recommended\fR] [\fB\-\-devel\fR|\fB\-\-HEAD\fR] \fIformulae\fR \fBuses\fR [\fB\-\-installed\fR] [\fB\-\-recursive\fR] [\fB\-\-include\-build\fR] [\fB\-\-include\-optional\fR] [\fB\-\-skip\-recommended\fR] [\fB\-\-devel\fR|\fB\-\-HEAD\fR] \fIformulae\fR