diff options
| author | Jack Nagel | 2011-11-07 22:46:36 -0600 |
|---|---|---|
| committer | Jack Nagel | 2011-11-07 22:46:36 -0600 |
| commit | bc78e2b2504312e4eb20f71a0278b0afaaa1f424 (patch) | |
| tree | 556fcd06e86e61df6419c35539060cd11e7a9787 /share | |
| parent | 3b0fbd6e09d0f481fbf9503a21ecb08a632f4144 (diff) | |
| download | homebrew-bc78e2b2504312e4eb20f71a0278b0afaaa1f424.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 'share')
| -rw-r--r-- | share/man/man1/brew.1 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index a87394bf7..af6c637fb 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" "October 2011" "Homebrew" "brew" +.TH "BREW" "1" "November 2011" "Homebrew" "brew" . .SH "NAME" \fBbrew\fR \- The missing package manager for OS X @@ -64,12 +64,15 @@ If \fB\-\-strict\fR is passed, perform additional stricter checks that may not n Display the source to \fIformula\fR\. . .TP -\fBcleanup [\-\-force]\fR [\fIformula\fR] +\fBcleanup [\-\-force] [\-n]\fR [\fIformula\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\. . .IP 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\. +. .TP \fBcreate [\-\-autotools|\-\-cmake] [\-\-no\-fetch]\fR \fIURL\fR Generate a formula for the downloadable file at \fIURL\fR and open it in $EDITOR\. 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\. |
