diff options
| author | Misty De Meo | 2012-06-17 16:54:20 -0500 |
|---|---|---|
| committer | Misty De Meo | 2012-07-09 12:01:09 -0500 |
| commit | 743b5e6feb05c92cfea49f89bc946ea1420b80fe (patch) | |
| tree | 97b06b997d1e4e0c495f061918542f266461dce5 /Library/Contributions/manpages | |
| parent | dd9ef7b71b71193cc5284732fe26d62f9b25263c (diff) | |
| download | brew-743b5e6feb05c92cfea49f89bc946ea1420b80fe.tar.bz2 | |
link: add --force and --dry-run options
`brew link` can now be made to delete any conflicting files using
the --force argument. It also has a --dry-run option, similar to
git clean -n, which will list any files which would be deleted
without touching the filesystem.
Closes Homebrew/homebrew#11811.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Contributions/manpages')
| -rw-r--r-- | Library/Contributions/manpages/brew.1.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index 5bd259de6..20df31c2d 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -186,11 +186,18 @@ For the full command list, see the COMMANDS section. If `--git` is passed, Homebrew will create a Git repository, useful for creating patches to the software. - * `ln`, `link` <formula>: + * `ln`, `link [--force] [--dry-run]` <formula>: Symlink all of <formula>'s installed files into the Homebrew prefix. This is done automatically when you install formula, but can be useful for DIY installations. + If `--force` is passed, Homebrew will delete files which already exist in + the prefix while linking. + + If `--dry-run` or `-n` is passed, Homebrew will list all files which would + be deleted by `brew link --force`, but will not actually link or delete + any files. + * `ls, list [--unbrewed] [--versions]` [<formulae>]: Without any arguments, list all installed formulae. |
