diff options
| author | Alyssa Ross | 2016-12-30 17:44:18 +0000 |
|---|---|---|
| committer | Alyssa Ross | 2016-12-30 17:44:18 +0000 |
| commit | ea3a41e213f9462bc62099c607986356428dd55d (patch) | |
| tree | 20b5a881fc8cfbf336b052470400f634506065b3 /Library/Homebrew/cmd | |
| parent | e2689a697cd892910fd9bbdbae38d1dd67cf426b (diff) | |
| download | brew-ea3a41e213f9462bc62099c607986356428dd55d.tar.bz2 | |
uninstall: better example in dependency warning
Previously, this only included a subset of all the kegs the user was
trying to uninstall. With this change, all named formulae/kegs will be
included in the example command.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/uninstall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb index 505d4e4b2..daae791a3 100644 --- a/Library/Homebrew/cmd/uninstall.rb +++ b/Library/Homebrew/cmd/uninstall.rb @@ -121,7 +121,7 @@ module Homebrew end def sample_command - "brew uninstall --ignore-dependencies #{list reqs.map(&:name)}" + "brew uninstall --ignore-dependencies #{list ARGV.named}" end def are_required_by_deps |
