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.
This commit is contained in:
Alyssa Ross 2016-12-30 17:44:18 +00:00
parent e2689a697c
commit ea3a41e213

View File

@ -121,7 +121,7 @@ module Homebrew
end end
def sample_command def sample_command
"brew uninstall --ignore-dependencies #{list reqs.map(&:name)}" "brew uninstall --ignore-dependencies #{list ARGV.named}"
end end
def are_required_by_deps def are_required_by_deps