From 481a0976436f657ecabee8d04502423516db9864 Mon Sep 17 00:00:00 2001
From: Alyssa Ross
Date: Tue, 25 Oct 2016 23:59:55 +0100
Subject: [PATCH] uninstall: document --ignore-dependencies
---
Library/Homebrew/cmd/uninstall.rb | 5 ++++-
docs/brew.1.html | 14 ++++++++++----
manpages/brew.1 | 10 ++++++++--
3 files changed, 22 insertions(+), 7 deletions(-)
diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb
index 504ee99835..d4a64c5055 100644
--- a/Library/Homebrew/cmd/uninstall.rb
+++ b/Library/Homebrew/cmd/uninstall.rb
@@ -1,8 +1,11 @@
-#: * `uninstall`, `rm`, `remove` [`--force`] :
+#: * `uninstall`, `rm`, `remove` [`--force`] [`--ignore-dependencies`] :
#: Uninstall .
#:
#: If `--force` is passed, and there are multiple versions of
#: installed, delete all installed versions.
+#:
+#: If `--ignore-dependencies` is passed, uninstalling won't fail, even if
+#: formulae depending on would still be installed.
require "keg"
require "formula"
diff --git a/docs/brew.1.html b/docs/brew.1.html
index bb8775cebe..0f5bf034a2 100644
--- a/docs/brew.1.html
+++ b/docs/brew.1.html
@@ -245,8 +245,11 @@ packages.
If --force is passed, then treat installed formulae and passed formulae
like if they are from same taps and migrate them anyway.
missing [formulae]Check the given formulae for missing dependencies. If no formulae are -given, check all installed brews.
missing [--hide=hidden] [formulae]Check the given formulae for missing dependencies. If no formulae are +given, check all installed brews.
+ +If --hide=hidden is passed, act as if none of hidden are installed.
+hidden should be a comma-seperated list of formulae.
options [--compact] (--all|--installed|formulae)Display install options specific to formulae.
If --compact is passed, show all options on a single line separated by
@@ -348,10 +351,13 @@ for version is v1.
tap-pin tapPin tap, prioritizing its formulae over core when formula names are supplied
by the user. See also tap-unpin.
tap-unpin tapUnpin tap so its formulae are no longer prioritized. See also tap-pin.
uninstall, rm, remove [--force] formulaUninstall formula.
+uninstall, rm, remove [--force] [--ignore-dependencies] formulaUninstall formula.
If --force is passed, and there are multiple versions of formula
-installed, delete all installed versions.
If --ignore-dependencies is passed, uninstalling won't fail, even if
+formulae depending on formula would still be installed.
unlink [--dry-run] formulaRemove symlinks for formula from the Homebrew prefix. This can be useful
for temporarily disabling a formula:
brew unlink foo && commands && brew link foo.