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:
parent
e2689a697c
commit
ea3a41e213
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user