aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/manpages
diff options
context:
space:
mode:
authorMike McQuaid2015-04-11 16:37:47 +0100
committerMike McQuaid2015-04-16 17:52:10 -0700
commit9b59aeceee58cf561e135c26fd29c0051b2821f7 (patch)
tree0ec892e64bbd3dffda8efd0f32fb59728262d056 /Library/Homebrew/manpages
parent41cb7ccecdaa0318d79d1d68fb6525611a72cef4 (diff)
downloadhomebrew-9b59aeceee58cf561e135c26fd29c0051b2821f7.tar.bz2
cleanup: add --prune to delete old cache files.
Diffstat (limited to 'Library/Homebrew/manpages')
-rw-r--r--Library/Homebrew/manpages/brew.1.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md
index e155ac8b0..8f1f2b161 100644
--- a/Library/Homebrew/manpages/brew.1.md
+++ b/Library/Homebrew/manpages/brew.1.md
@@ -53,7 +53,7 @@ Note that these flags should only appear after a command.
* `cat` <formula>:
Display the source to <formula>.
- * `cleanup [--force] [-ns]` [<formulae>]:
+ * `cleanup [--force] [--prune=<days>] [-ns]` [<formulae>]:
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
@@ -61,6 +61,8 @@ Note that these flags should only appear after a command.
If `--force` is passed, remove out-of-date keg-only brews as well.
+ If `--prune=<days>` is specified, remove all cache files older than <days>.
+
If `-n` is passed, show what would be removed, but do not actually remove anything.
If `-s` is passed, scrubs the cache, removing downloads for even the latest