diff options
| author | Max Howell | 2012-03-06 20:12:42 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-06 20:28:06 +0000 |
| commit | 158efd8c9a61b91caccdcb2e6b98f7d649cae93c (patch) | |
| tree | cd8ef74820a11050df7e9aa4e84b0925b7770b61 /share/man | |
| parent | 1b4b8a722ecb37bfb4e99b16881075ee2f5f67c0 (diff) | |
| download | brew-158efd8c9a61b91caccdcb2e6b98f7d649cae93c.tar.bz2 | |
`brew cleanup` cleans up the download-cache
Manpage updated.
The -s switch is "scrub" and removes downloads for uninstall formula which are downloads for the latest version of that formula still.
Please NOTE cache is NOT cleaned if a formula argument is provided. I couldn't be bothered. Patches welcome :)
Closes Homebrew/homebrew#2923.
Diffstat (limited to 'share/man')
| -rw-r--r-- | share/man/man1/brew.1 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index 2b3b2cea3..ea060c289 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "BREW" "1" "February 2012" "Homebrew" "brew" +.TH "BREW" "1" "March 2012" "Homebrew" "brew" . .SH "NAME" \fBbrew\fR \- The missing package manager for OS X @@ -61,8 +61,8 @@ If no \fIformulae\fR are provided, all of them are checked\. Display the source to \fIformula\fR\. . .TP -\fBcleanup [\-\-force] [\-n]\fR [\fIformulae\fR] -For all installed or specific formulae, remove any older versions from the cellar\. By default, does not remove out\-of\-date keg\-only brews, as other software may link directly to specific versions\. +\fBcleanup [\-\-force] [\-ns]\fR [\fIformulae\fR] +For all installed or specific formulae, remove any older versions from the cellar\. By default, does not remove out\-of\-date keg\-only brews, as other software may link directly to specific versions\. In addition old downloads from the Homebrew download\-cache are deleted\. . .IP If \fB\-\-force\fR is passed, remove out\-of\-date keg\-only brews as well\. @@ -70,6 +70,9 @@ If \fB\-\-force\fR is passed, remove out\-of\-date keg\-only brews as well\. .IP If \fB\-n\fR is passed, show what would be removed, but do not actually remove anything\. . +.IP +If \fB\-s\fR is passed, scrubs the cache, removing downloads for even the latest versions of formula\. Note downloads for any installed formula will still not be deleted\. If you want to delete those too: \fBrm \-rf $(brew \-\-cache)\fR +. .TP \fBcreate [\-\-autotools|\-\-cmake] [\-\-no\-fetch]\fR \fIURL\fR Generate a formula for the downloadable file at \fIURL\fR and open it in \fBEDITOR\fR\. Homebrew will attempt to automatically derive the formula name and version, but if it fails, you\'ll have to make your own template\. The wget formula serves as a simple example\. |
