aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMartin Afanasjew2015-12-12 18:47:42 +0100
committerMartin Afanasjew2015-12-13 02:20:02 +0100
commit18bf5a74a8365a990240e3931446b2a13dbbacde (patch)
treee719bba9beeec440f71807fc43b27673c2d4679b /Library/Homebrew
parent3cc101ec5ea20f46e104aba26d3dc16b7d763fca (diff)
downloadbrew-18bf5a74a8365a990240e3931446b2a13dbbacde.tar.bz2
cleanup: consistently document --dry-run option
All other commands document both `--dry-run` and `-n` in the option description and mention only `--dry-run` in the command summary. Let's do the same for `cleanup`. Closes Homebrew/homebrew#46942. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/manpages/brew.1.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md
index 0e70f4f55..1e15e115b 100644
--- a/Library/Homebrew/manpages/brew.1.md
+++ b/Library/Homebrew/manpages/brew.1.md
@@ -55,7 +55,7 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
* `cat` <formula>:
Display the source to <formula>.
- * `cleanup` [`--force`] [`--prune=`<days>] [`-n`] [`-s`] [<formulae>]:
+ * `cleanup` [`--force`] [`--prune=`<days>] [`--dry-run`] [`-s`] [<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
@@ -65,7 +65,8 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
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 `--dry-run` or `-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
versions of formulae. Note downloads for any installed formulae will still not be