aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorMartin Afanasjew2016-05-09 15:37:01 +0200
committerMartin Afanasjew2016-05-09 15:37:01 +0200
commit5a90e7190b0e06379ea2c94561e5914af9370f0b (patch)
tree710bc305f8bafba967c5d3836a1176652fef9501 /share
parent57bf33302a6e4765be8b7dd4c05e15394a9cf31d (diff)
downloadbrew-5a90e7190b0e06379ea2c94561e5914af9370f0b.tar.bz2
fetch: document --retry option (#225)
Diffstat (limited to 'share')
-rw-r--r--share/doc/homebrew/brew.1.html5
-rw-r--r--share/man/man1/brew.15
2 files changed, 8 insertions, 2 deletions
diff --git a/share/doc/homebrew/brew.1.html b/share/doc/homebrew/brew.1.html
index bd6f9f5cf..6322abf16 100644
--- a/share/doc/homebrew/brew.1.html
+++ b/share/doc/homebrew/brew.1.html
@@ -139,7 +139,7 @@ installing.</p></dd>
if any problems are found.</p></dd>
<dt class="flush"><code>edit</code></dt><dd><p>Open all of Homebrew for editing.</p></dd>
<dt><code>edit</code> <var>formula</var></dt><dd><p>Open <var>formula</var> in the editor.</p></dd>
-<dt><code>fetch</code> [<code>--force</code>] [<code>-v</code>] [<code>--devel</code>|<code>--HEAD</code>] [<code>--deps</code>] [<code>--build-from-source</code>|<code>--force-bottle</code>] <var>formulae</var></dt><dd><p>Download the source packages for the given <var>formulae</var>.
+<dt><code>fetch</code> [<code>--force</code>] [<code>--retry</code>] [<code>-v</code>] [<code>--devel</code>|<code>--HEAD</code>] [<code>--deps</code>] [<code>--build-from-source</code>|<code>--force-bottle</code>] <var>formulae</var></dt><dd><p>Download the source packages for the given <var>formulae</var>.
For tarballs, also print SHA-256 checksums.</p>
<p>If <code>--HEAD</code> or <code>--devel</code> is passed, fetch that version instead of the
@@ -150,6 +150,9 @@ This is useful for seeing if an existing VCS cache has been updated.</p>
<p>If <code>--force</code> is passed, remove a previously cached version and re-fetch.</p>
+<p>If <code>--retry</code> is passed, retry if a download fails or re-download if the
+checksum of a previously cached version no longer matches.</p>
+
<p>If <code>--deps</code> is passed, also download dependencies for any listed <var>formulae</var>.</p>
<p>If <code>--build-from-source</code> is passed, download the source rather than a
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 9db7b58c4..99514666f 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -189,7 +189,7 @@ Open all of Homebrew for editing\.
Open \fIformula\fR in the editor\.
.
.TP
-\fBfetch\fR [\fB\-\-force\fR] [\fB\-v\fR] [\fB\-\-devel\fR|\fB\-\-HEAD\fR] [\fB\-\-deps\fR] [\fB\-\-build\-from\-source\fR|\fB\-\-force\-bottle\fR] \fIformulae\fR
+\fBfetch\fR [\fB\-\-force\fR] [\fB\-\-retry\fR] [\fB\-v\fR] [\fB\-\-devel\fR|\fB\-\-HEAD\fR] [\fB\-\-deps\fR] [\fB\-\-build\-from\-source\fR|\fB\-\-force\-bottle\fR] \fIformulae\fR
Download the source packages for the given \fIformulae\fR\. For tarballs, also print SHA\-256 checksums\.
.
.IP
@@ -202,6 +202,9 @@ If \fB\-v\fR is passed, do a verbose VCS checkout, if the URL represents a VCS\.
If \fB\-\-force\fR is passed, remove a previously cached version and re\-fetch\.
.
.IP
+If \fB\-\-retry\fR is passed, retry if a download fails or re\-download if the checksum of a previously cached version no longer matches\.
+.
+.IP
If \fB\-\-deps\fR is passed, also download dependencies for any listed \fIformulae\fR\.
.
.IP