diff options
| author | Martin Afanasjew | 2015-12-08 09:11:33 +0100 |
|---|---|---|
| committer | Martin Afanasjew | 2016-04-06 10:31:54 +0200 |
| commit | ea38a7039552b27334efad63897bbc3ad2b7263c (patch) | |
| tree | 054233c5a3b3b6f5986d08f7699dc6423941f19b /share | |
| parent | b50e950f0ea2a5fdfc8d312d1a6eb4f4e6240fa0 (diff) | |
| download | brew-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 'share')
| -rw-r--r-- | share/doc/homebrew/brew.1.html | 4 | ||||
| -rw-r--r-- | share/man/man1/brew.1 | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/share/doc/homebrew/brew.1.html b/share/doc/homebrew/brew.1.html index ed21c8ffb..613d1f1bc 100644 --- a/share/doc/homebrew/brew.1.html +++ b/share/doc/homebrew/brew.1.html @@ -267,7 +267,9 @@ valid version is <code>v1</code>.</p></dd> <dt><code>pin</code> <var>formulae</var></dt><dd><p>Pin the specified <var>formulae</var>, preventing them from being upgraded when issuing the <code>brew upgrade</code> command. See also <code>unpin</code>.</p></dd> <dt><code>prune</code> [<code>--dry-run</code>]</dt><dd><p>Remove dead symlinks from the Homebrew prefix. This is generally not -needed, but can be useful when doing DIY installations.</p> +needed, but can be useful when doing DIY installations. Also remove broken +app symlinks from <code>/Applications</code> and <code>~/Applications</code> that were previously +created by <code>brew linkapps</code>.</p> <p>If <code>--dry-run</code> or <code>-n</code> is passed, show what would be removed, but do not actually remove anything.</p></dd> diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index 386fc39d1..03a122751 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -365,7 +365,7 @@ Pin the specified \fIformulae\fR, preventing them from being upgraded when issui . .TP \fBprune\fR [\fB\-\-dry\-run\fR] -Remove dead symlinks from the Homebrew prefix\. This is generally not needed, but can be useful when doing DIY installations\. +Remove dead symlinks from the Homebrew prefix\. This is generally not needed, but can be useful when doing DIY installations\. Also remove broken app symlinks from \fB/Applications\fR and \fB~/Applications\fR that were previously created by \fBbrew linkapps\fR\. . .IP If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, show what would be removed, but do not actually remove anything\. |
