aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/fetch.rb
diff options
context:
space:
mode:
authorMartin Afanasjew2016-05-09 15:37:01 +0200
committerMartin Afanasjew2016-05-09 15:37:01 +0200
commit5a90e7190b0e06379ea2c94561e5914af9370f0b (patch)
tree710bc305f8bafba967c5d3836a1176652fef9501 /Library/Homebrew/cmd/fetch.rb
parent57bf33302a6e4765be8b7dd4c05e15394a9cf31d (diff)
downloadbrew-5a90e7190b0e06379ea2c94561e5914af9370f0b.tar.bz2
fetch: document --retry option (#225)
Diffstat (limited to 'Library/Homebrew/cmd/fetch.rb')
-rw-r--r--Library/Homebrew/cmd/fetch.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb
index 1dd6da4b3..249f00faf 100644
--- a/Library/Homebrew/cmd/fetch.rb
+++ b/Library/Homebrew/cmd/fetch.rb
@@ -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>.
#: For tarballs, also print SHA-256 checksums.
#:
@@ -10,6 +10,9 @@
#:
#: 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 `--build-from-source` is passed, download the source rather than a