aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/fetch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/fetch.rb')
-rw-r--r--Library/Homebrew/cmd/fetch.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb
index fabe268e5..8a1a092cc 100644
--- a/Library/Homebrew/cmd/fetch.rb
+++ b/Library/Homebrew/cmd/fetch.rb
@@ -1,3 +1,23 @@
+#: * `fetch` [`--force`] [`-v`] [`--devel`|`--HEAD`] [`--deps`] [`--build-from-source`|`--force-bottle`] <formulae>:
+#: Download the source packages for the given <formulae>.
+#: For tarballs, also print SHA-1 and SHA-256 checksums.
+#:
+#: If `--HEAD` or `--devel` is passed, fetch that version instead of the
+#: stable version.
+#:
+#: If `-v` is passed, do a verbose VCS checkout, if the URL represents a CVS.
+#: This is useful for seeing if an existing VCS cache has been updated.
+#:
+#: If `--force` is passed, remove a previously cached version and re-fetch.
+#:
+#: If `--deps` is passed, also download dependencies for any listed <formulae>.
+#:
+#: If `--build-from-source` is passed, download the source rather than a
+#: bottle.
+#:
+#: If `--force-bottle` is passed, download a bottle if it exists for the current
+#: version of OS X, even if it would not be used during installation.
+
require "formula"
module Homebrew