diff options
| author | Martin Afanasjew | 2015-12-08 08:40:44 +0100 |
|---|---|---|
| committer | Martin Afanasjew | 2016-04-06 10:31:54 +0200 |
| commit | b50e950f0ea2a5fdfc8d312d1a6eb4f4e6240fa0 (patch) | |
| tree | 512e47872cb991562f6054180449ec4e01ea8e39 /share/man | |
| parent | dcf406f1e42ac15718e2dcbee98fcb7e22f4f27b (diff) | |
| download | brew-b50e950f0ea2a5fdfc8d312d1a6eb4f4e6240fa0.tar.bz2 | |
unlinkapps: add --dry-run option
Add `--dry-run` option as is customary for destructive commands. Update
`bash` completion and man page accordingly. Also correct and update
documentation for both `brew linkapps` and `brew unlinkapps` in more
general terms.
Diffstat (limited to 'share/man')
| -rw-r--r-- | share/man/man1/brew.1 | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index c9adf6bea..386fc39d1 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -286,13 +286,13 @@ If \fB\-\-force\fR is passed, Homebrew will allow keg\-only formulae to be linke . .TP \fBlinkapps\fR [\fB\-\-local\fR] [\fIformulae\fR] -Find installed formulae that have compiled \fB\.app\fR\-style "application" packages for OS X, and symlink those apps into \fB/Applications\fR, allowing for easier access\. +Find installed formulae that provide \fB\.app\fR\-style OS X apps and symlink them into \fB/Applications\fR, allowing for easier access\. . .IP -If no \fIformulae\fR are provided, all of them will have their \.apps symlinked\. +If no \fIformulae\fR are provided, all of them will have their apps symlinked\. . .IP -If provided, \fB\-\-local\fR will move them into the user\'s \fB~/Applications\fR directory instead of the system directory\. It may need to be created, first\. +If provided, \fB\-\-local\fR will symlink them into the user\'s \fB~/Applications\fR directory instead of the system directory\. . .TP \fBls\fR, \fBlist\fR [\fB\-\-full\-name\fR] @@ -476,11 +476,17 @@ Remove symlinks for \fIformula\fR from the Homebrew prefix\. This can be useful If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, Homebrew will list all files which would be unlinked, but will not actually unlink or delete any files\. . .TP -\fBunlinkapps\fR [\fB\-\-local\fR] [\fIformulae\fR] -Removes links created by \fBbrew linkapps\fR\. +\fBunlinkapps\fR [\fB\-\-local\fR] [\fB\-\-dry\-run\fR] [\fIformulae\fR] +Remove symlinks created by \fBbrew linkapps\fR from \fB/Applications\fR\. . .IP -If no \fIformulae\fR are provided, all linked app will be removed\. +If no \fIformulae\fR are provided, all linked apps will be removed\. +. +.IP +If provided, \fB\-\-local\fR will remove symlinks from the user\'s \fB~/Applications\fR directory instead of the system directory\. +. +.IP +If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, Homebrew will list all symlinks which would be removed, but will not actually delete any files\. . .TP \fBunpack\fR [\fB\-\-git\fR|\fB\-\-patch\fR] [\fB\-\-destdir=\fR\fIpath\fR] \fIformulae\fR |
