aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/manpages
diff options
context:
space:
mode:
authorMartin Afanasjew2015-12-08 09:11:33 +0100
committerMartin Afanasjew2016-04-06 10:31:54 +0200
commitea38a7039552b27334efad63897bbc3ad2b7263c (patch)
tree054233c5a3b3b6f5986d08f7699dc6423941f19b /Library/Homebrew/manpages
parentb50e950f0ea2a5fdfc8d312d1a6eb4f4e6240fa0 (diff)
downloadbrew-ea38a7039552b27334efad63897bbc3ad2b7263c.tar.bz2
prune: handle broken app symlinks
Remove broken symlinks from `/Applications` and `~/Applications` that were previously created by `brew linkapps`, but are no longer valid because formulae were uninstalled or the provided apps have changed.
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 9e3c2cd07..f1849f90f 100644
--- a/Library/Homebrew/manpages/brew.1.md
+++ b/Library/Homebrew/manpages/brew.1.md
@@ -340,7 +340,9 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
* `prune` [`--dry-run`]:
Remove dead symlinks from the Homebrew prefix. This is generally not
- needed, but can be useful when doing DIY installations.
+ needed, but can be useful when doing DIY installations. Also remove broken
+ app symlinks from `/Applications` and `~/Applications` that were previously
+ created by `brew linkapps`.
If `--dry-run` or `-n` is passed, show what would be removed, but do not
actually remove anything.