aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-06-16 14:09:15 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-06-16 14:09:15 +0100
commit91ec20d3b80b10799585f26cea0aba777c6f61e4 (patch)
treeef9fe1fc14dbe063ae5de5252d1c40fcbf7c92b9
parent5c2c19f6e4472f1e608f633560e18a85560a4e8c (diff)
downloadpaludis-91ec20d3b80b10799585f26cea0aba777c6f61e4.tar.gz
paludis-91ec20d3b80b10799585f26cea0aba777c6f61e4.tar.xz
Include masked packages in suggestions for install.
-rw-r--r--src/output/console_install_task.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/output/console_install_task.cc b/src/output/console_install_task.cc
index 7c4c339..2b2b232 100644
--- a/src/output/console_install_task.cc
+++ b/src/output/console_install_task.cc
@@ -200,8 +200,7 @@ ConsoleInstallTask::try_to_set_targets_from_user_specs(const std::tr1::shared_pt
{
output_stream() << " Looking for suggestions:" << endl;
- FuzzyCandidatesFinder f(*environment(), e.name(),
- filter::And(filter::SupportsAction<InstallAction>(), filter::NotMasked()));
+ FuzzyCandidatesFinder f(*environment(), e.name(), filter::SupportsAction<InstallAction>());
if (f.begin() == f.end())
output_stream() << "No suggestions found." << endl;
@@ -1603,8 +1602,7 @@ ConsoleInstallTask::on_no_such_package_error(const NoSuchPackageError & e)
{
output_stream() << " Looking for suggestions:" << endl;
- FuzzyCandidatesFinder f(*environment(), e.name(),
- filter::And(filter::SupportsAction<InstallAction>(), filter::NotMasked()));
+ FuzzyCandidatesFinder f(*environment(), e.name(), filter::SupportsAction<InstallAction>());
if (f.begin() == f.end())
output_stream() << "No suggestions found." << endl;
@@ -1639,8 +1637,7 @@ ConsoleInstallTask::on_all_masked_error(const AllMaskedError & e)
{
output_stream() << " Looking for suggestions:" << endl;
- FuzzyCandidatesFinder f(*environment(), stringify(e.query()),
- filter::And(filter::SupportsAction<InstallAction>(), filter::NotMasked()));
+ FuzzyCandidatesFinder f(*environment(), stringify(e.query()), filter::SupportsAction<InstallAction>());
if (f.begin() == f.end())
output_stream() << "No suggestions found." << endl;