aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions
diff options
context:
space:
mode:
authorJack Nagel2011-11-07 22:46:36 -0600
committerJack Nagel2011-11-07 22:46:36 -0600
commit0cc3eb296d798e24907bdc9f1a0cc8debc412eb9 (patch)
tree9064bb5cdb434dfb5f779f18d1977209f61ba567 /Library/Contributions
parent323c30978fd3ab008fc32caa58f34b9b0a14728f (diff)
downloadbrew-0cc3eb296d798e24907bdc9f1a0cc8debc412eb9.tar.bz2
cleanup: add an option to perform a 'dry run'
Sometimes you want to know what `brew cleanup` will do before it actually removes anything. Introduce a '-n' option (chosen to match other UNIX tools) to do this. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Contributions')
-rw-r--r--Library/Contributions/manpages/brew.1.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index a15fbfeb7..806762a94 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -54,13 +54,15 @@ For the full command list, see the COMMANDS section.
* `cat` <formula>:
Display the source to <formula>.
- * `cleanup [--force]` [<formula>]:
+ * `cleanup [--force] [-n]` [<formula>]:
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.
If `--force` is passed, remove out-of-date keg-only brews as well.
+ If `-n` is passed, show what would be removed, but do not actually remove anything.
+
* `create [--autotools|--cmake] [--no-fetch]` <URL>:
Generate a formula for the downloadable file at <URL> and open it in
$EDITOR. Homebrew will attempt to automatically derive the formula name