fetch: document --retry option (#225)

This commit is contained in:
Martin Afanasjew 2016-05-09 15:37:01 +02:00
parent 57bf33302a
commit 5a90e7190b
3 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#: * `fetch` [`--force`] [`-v`] [`--devel`|`--HEAD`] [`--deps`] [`--build-from-source`|`--force-bottle`] <formulae>: #: * `fetch` [`--force`] [`--retry`] [`-v`] [`--devel`|`--HEAD`] [`--deps`] [`--build-from-source`|`--force-bottle`] <formulae>:
#: Download the source packages for the given <formulae>. #: Download the source packages for the given <formulae>.
#: For tarballs, also print SHA-256 checksums. #: For tarballs, also print SHA-256 checksums.
#: #:
@ -10,6 +10,9 @@
#: #:
#: If `--force` is passed, remove a previously cached version and re-fetch. #: If `--force` is passed, remove a previously cached version and re-fetch.
#: #:
#: If `--retry` is passed, retry if a download fails or re-download if the
#: checksum of a previously cached version no longer matches.
#:
#: If `--deps` is passed, also download dependencies for any listed <formulae>. #: If `--deps` is passed, also download dependencies for any listed <formulae>.
#: #:
#: If `--build-from-source` is passed, download the source rather than a #: If `--build-from-source` is passed, download the source rather than a

View File

@ -139,7 +139,7 @@ installing.</p></dd>
if any problems are found.</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 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>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> 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 <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>--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>--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 <p>If <code>--build-from-source</code> is passed, download the source rather than a

View File

@ -189,7 +189,7 @@ Open all of Homebrew for editing\.
Open \fIformula\fR in the editor\. Open \fIformula\fR in the editor\.
. .
.TP .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\. Download the source packages for the given \fIformulae\fR\. For tarballs, also print SHA\-256 checksums\.
. .
.IP .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\. If \fB\-\-force\fR is passed, remove a previously cached version and re\-fetch\.
. .
.IP .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\. If \fB\-\-deps\fR is passed, also download dependencies for any listed \fIformulae\fR\.
. .
.IP .IP