diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index cbae9bc8f3..8154926523 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -167,7 +167,7 @@ didn't include with OS X. Shows the git log for the given formulae. Options that `git log` recognizes can be passed before the formula list. - * `fetch [-v] [--HEAD]` : + * `fetch [--force] [-v] [--HEAD]` : Downloads the tarball or checks out from VCS for the given . For tarballs, also prints MD5 and SHA1 checksums. @@ -175,6 +175,8 @@ didn't include with OS X. may also be passed to make the VCS checkout verbose, useful for seeing if an existing HEAD cache has been updated. + If `--force` is passed, remove a previously cached version and re-fetch. + ## EXTERNAL COMMANDS Homebrew allows external commands to be defined by putting a +x file named diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index 3a15e55e89..50a71328bd 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -178,12 +178,15 @@ Using Git, fetches the newest version of Homebrew from the GitHub repository\. Shows the git log for the given formulae\. Options that \fBgit log\fR recognizes can be passed before the formula list\. . .TP -\fBfetch [\-v] [\-\-HEAD]\fR \fIformula\fR +\fBfetch [\-\-force] [\-v] [\-\-HEAD]\fR \fIformula\fR Downloads the tarball or checks out from VCS for the given \fIformula\fR\. For tarballs, also prints MD5 and SHA1 checksums\. . .IP If \fB\-\-HEAD\fR is passed, download the HEAD version of \fIformula\fR instead\. \fB\-v\fR may also be passed to make the VCS checkout verbose, useful for seeing if an existing HEAD cache has been updated\. . +.IP +If \fB\-\-force\fR is passed, remove a previously cached version and re\-fetch\. +. .SH "EXTERNAL COMMANDS" Homebrew allows external commands to be defined by putting a +x file named \fBbrew\-\fR or \fBbrew\-\.rb\fR on the PATH\. This will cause Homebrew to recognize \fBbrew cmdname\fR\. .