aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-09-06 15:37:47 +0800
committerXu Cheng2015-09-06 15:37:47 +0800
commit5eab79e70f6887869d3b38adcd74296218de9269 (patch)
tree3d1cf74e958dd847264a4f297d56d9a322eb686e /Library
parent9581ab64e34be66c809695cea171ea953e3ab2e4 (diff)
downloadbrew-5eab79e70f6887869d3b38adcd74296218de9269.tar.bz2
manpage: add unlink --dry-run
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/manpages/brew.1.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md
index 71b5dc3df..5adcb2180 100644
--- a/Library/Homebrew/manpages/brew.1.md
+++ b/Library/Homebrew/manpages/brew.1.md
@@ -429,11 +429,14 @@ Note that these flags should only appear after a command.
Example: `brew install jruby && brew test jruby`
- * `unlink` <formula>:
+ * `unlink [--dry-run]` <formula>:
Remove symlinks for <formula> from the Homebrew prefix. This can be useful
for temporarily disabling a formula:
`brew unlink foo && commands && brew link foo`.
+ If `--dry-run` or `-n` is passed, Homebrew will list all files which would
+ be unlinked, but will not actually unlink or delete any files.
+
* `unlinkapps [--local]` [<formulae>]:
Removes links created by `brew linkapps`.