Skip to content
Snippets Groups Projects
Commit 080c4de9 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #685 from vladshablinsky/update-man-fetch-head

Update --fetch-HEAD documentation
parents 06fe347d 7fa9c0e9
No related branches found
No related tags found
No related merge requests found
...@@ -12,9 +12,10 @@ ...@@ -12,9 +12,10 @@
#: If `--json=`<version> is passed, the output will be in JSON format. The only #: If `--json=`<version> is passed, the output will be in JSON format. The only
#: valid version is `v1`. #: valid version is `v1`.
#: #:
#: If `--fetch-HEAD` is passed, fetch upstream repository to detect that HEAD #: If `--fetch-HEAD` is passed, fetch the upstream repository to detect if
#: formula is outdated. Otherwise HEAD-installation is considered outdated if #: the HEAD installation of the formula is outdated. Otherwise, the
#: new stable or devel version is bumped after that installation. #: repository's HEAD will be checked for updates when a new stable or devel
#: version has been released.
require "formula" require "formula"
require "keg" require "keg"
......
...@@ -5,9 +5,10 @@ ...@@ -5,9 +5,10 @@
#: #:
#: If `--cleanup` is specified then remove previously installed <formula> version(s). #: If `--cleanup` is specified then remove previously installed <formula> version(s).
#: #:
#: If `--fetch-HEAD` is passed, fetch upstream repository to detect that HEAD #: If `--fetch-HEAD` is passed, fetch the upstream repository to detect if
#: formula is outdated. Otherwise HEAD-installation is considered outdated if #: the HEAD installation of the formula is outdated. Otherwise, the
#: new stable or devel version is bumped after that installation. #: repository's HEAD will be checked for updates when a new stable or devel
#: 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 (but do so even
#: if they are pinned; see `pin`, `unpin`). #: if they are pinned; see `pin`, `unpin`).
......
...@@ -307,9 +307,10 @@ precedence over <code>--verbose</code>).</p> ...@@ -307,9 +307,10 @@ precedence over <code>--verbose</code>).</p>
<p>If <code>--json=</code><var>version</var> is passed, the output will be in JSON format. The only <p>If <code>--json=</code><var>version</var> is passed, the output will be in JSON format. The only
valid version is <code>v1</code>.</p> valid version is <code>v1</code>.</p>
<p>If <code>--fetch-HEAD</code> is passed, fetch upstream repository to detect that HEAD <p>If <code>--fetch-HEAD</code> is passed, fetch the upstream repository to detect if
formula is outdated. Otherwise HEAD-installation is considered outdated if the HEAD installation of the formula is outdated. Otherwise, the
new stable or devel version is bumped after that installation.</p></dd> repository's HEAD will be checked for updates when a new stable or devel
version has been released.</p></dd>
<dt><code>pin</code> <var>formulae</var></dt><dd><p>Pin the specified <var>formulae</var>, preventing them from being upgraded when <dt><code>pin</code> <var>formulae</var></dt><dd><p>Pin the specified <var>formulae</var>, preventing them from being upgraded when
issuing the <code>brew upgrade</code> command. See also <code>unpin</code>.</p></dd> issuing the <code>brew upgrade</code> command. See also <code>unpin</code>.</p></dd>
<dt><code>prune</code> [<code>--dry-run</code>]</dt><dd><p>Remove dead symlinks from the Homebrew prefix. This is generally not <dt><code>prune</code> [<code>--dry-run</code>]</dt><dd><p>Remove dead symlinks from the Homebrew prefix. This is generally not
...@@ -446,9 +447,10 @@ source. This is useful for creating patches for the software.</p></dd> ...@@ -446,9 +447,10 @@ source. This is useful for creating patches for the software.</p></dd>
<p>If <code>--cleanup</code> is specified then remove previously installed <var>formula</var> version(s).</p> <p>If <code>--cleanup</code> is specified then remove previously installed <var>formula</var> version(s).</p>
<p>If <code>--fetch-HEAD</code> is passed, fetch upstream repository to detect that HEAD <p>If <code>--fetch-HEAD</code> is passed, fetch the upstream repository to detect if
formula is outdated. Otherwise HEAD-installation is considered outdated if the HEAD installation of the formula is outdated. Otherwise, the
new stable or devel version is bumped after that installation.</p> repository's HEAD will be checked for updates when a new stable or devel
version has been released.</p>
<p>If <var>formulae</var> are given, upgrade only the specified brews (but do so even <p>If <var>formulae</var> are given, upgrade only the specified brews (but do so even
if they are pinned; see <code>pin</code>, <code>unpin</code>).</p></dd> if they are pinned; see <code>pin</code>, <code>unpin</code>).</p></dd>
......
...@@ -408,7 +408,7 @@ If \fB\-\-verbose\fR is passed, display detailed version information\. ...@@ -408,7 +408,7 @@ If \fB\-\-verbose\fR is passed, display detailed version information\.
If \fB\-\-json=\fR\fIversion\fR is passed, the output will be in JSON format\. The only valid version is \fBv1\fR\. If \fB\-\-json=\fR\fIversion\fR is passed, the output will be in JSON format\. The only valid version is \fBv1\fR\.
. .
.IP .IP
If \fB\-\-fetch\-HEAD\fR is passed, fetch upstream repository to detect that HEAD formula is outdated\. Otherwise HEAD\-installation is considered outdated if new stable or devel version is bumped after that installation\. 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\.
. .
.TP .TP
\fBpin\fR \fIformulae\fR \fBpin\fR \fIformulae\fR
...@@ -610,7 +610,7 @@ Options for the \fBinstall\fR command are also valid here\. ...@@ -610,7 +610,7 @@ Options for the \fBinstall\fR command are also valid here\.
If \fB\-\-cleanup\fR is specified then remove previously installed \fIformula\fR version(s)\. If \fB\-\-cleanup\fR is specified then remove previously installed \fIformula\fR version(s)\.
. .
.IP .IP
If \fB\-\-fetch\-HEAD\fR is passed, fetch upstream repository to detect that HEAD formula is outdated\. Otherwise HEAD\-installation is considered outdated if new stable or devel version is bumped after that installation\. 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 (but do so even if they are pinned; see \fBpin\fR, \fBunpin\fR)\.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment