From d9f327083bba063450be8f8aa44e2e7a27c1b5d4 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 29 Oct 2013 21:07:21 -0700 Subject: [PATCH] add unlink apps to manpage and completion --- Library/Contributions/brew_bash_completion.sh | 2 ++ Library/Contributions/manpages/brew.1.md | 5 ++++- share/man/man1/brew.1 | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh index c55b78925d..7861b93b30 100644 --- a/Library/Contributions/brew_bash_completion.sh +++ b/Library/Contributions/brew_bash_completion.sh @@ -414,6 +414,7 @@ _brew () home info abv install + linkapps link ln list ls log @@ -428,6 +429,7 @@ _brew () test uninstall remove rm unlink + unlinkapps unpin untap update diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index 595c062a26..dea1a73172 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -224,7 +224,7 @@ Note that these flags should only appear after a command. Find all installed formulae that have compiled `.app`-style "application" packages for OS X, and symlink those apps into `/Applications`, allowing for easier access. - + If provided, `--local` will move them into the user's `~/Applications` folder instead of the system folder. It may need to be created, first. @@ -331,6 +331,9 @@ Note that these flags should only appear after a command. for temporarily disabling a formula: `brew unlink foo && commands && brew link foo`. + * `unlinkapps [--local]`: + Removes links created by `brew linkapps`. + * `unpin` : Unpin , allowing them to be upgraded by `brew upgrade`. See also `pin`. diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index cbae61934e..a6b4652564 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -353,6 +353,10 @@ Example: \fBbrew install jruby && brew test jruby\fR Remove symlinks for \fIformula\fR from the Homebrew prefix\. This can be useful for temporarily disabling a formula: \fBbrew unlink foo && commands && brew link foo\fR\. . .TP +\fBunlinkapps [\-\-local]\fR +Removes links created by \fBbrew linkapps\fR\. +. +.TP \fBunpin\fR \fIformulae\fR Unpin \fIformulae\fR, allowing them to be upgraded by \fBbrew upgrade\fR\. See also \fBpin\fR\. .