From b50e950f0ea2a5fdfc8d312d1a6eb4f4e6240fa0 Mon Sep 17 00:00:00 2001 From: Martin Afanasjew Date: Tue, 8 Dec 2015 08:40:44 +0100 Subject: 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. --- share/doc/homebrew/brew.1.html | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'share/doc') diff --git a/share/doc/homebrew/brew.1.html b/share/doc/homebrew/brew.1.html index 37519d67e..ed21c8ffb 100644 --- a/share/doc/homebrew/brew.1.html +++ b/share/doc/homebrew/brew.1.html @@ -214,14 +214,13 @@ be linked or which would be deleted by brew link --overwrite, but w actually link or delete any files.

If --force is passed, Homebrew will allow keg-only formulae to be linked.

-
linkapps [--local] [formulae]

Find installed formulae that have compiled .app-style "application" -packages for OS X, and symlink those apps into /Applications, allowing -for easier access.

+
linkapps [--local] [formulae]

Find installed formulae that provide .app-style OS X apps and symlink them +into /Applications, allowing for easier access.

-

If no formulae are provided, all of them will have their .apps symlinked.

+

If no formulae are provided, all of them will have their apps symlinked.

-

If provided, --local will move them into the user's ~/Applications -directory instead of the system directory. It may need to be created, first.

+

If provided, --local will symlink them into the user's ~/Applications +directory instead of the system directory.

ls, list [--full-name]

List all installed formulae. If --full-name is passed, print formulae with full-qualified names.

ls, list --unbrewed

List all files in the Homebrew prefix not installed by Homebrew.

@@ -341,9 +340,15 @@ for temporarily disabling a formula:

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.

+
unlinkapps [--local] [--dry-run] [formulae]

Remove symlinks created by brew linkapps from /Applications.

-

If no formulae are provided, all linked app will be removed.

+

If no formulae are provided, all linked apps will be removed.

+ +

If provided, --local will remove symlinks from the user's ~/Applications +directory instead of the system directory.

+ +

If --dry-run or -n is passed, Homebrew will list all symlinks which +would be removed, but will not actually delete any files.

unpack [--git|--patch] [--destdir=path] formulae

Unpack the source files for formulae into subdirectories of the current working directory. If --destdir=path is given, the subdirectories will be created in the directory named by <path> instead.

-- cgit v1.2.3