aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/resolve_common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/resolve_common.cc')
-rw-r--r--src/clients/cave/resolve_common.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/clients/cave/resolve_common.cc b/src/clients/cave/resolve_common.cc
index fc89c82a2..4e8c233e1 100644
--- a/src/clients/cave/resolve_common.cc
+++ b/src/clients/cave/resolve_common.cc
@@ -995,6 +995,10 @@ paludis::cave::resolve_common(
i_end(resolution_options.a_favour.end_args()) ;
i != i_end ; ++i)
prefer_or_avoid_helper.add_prefer_name(disambiguate_if_necessary(env.get(), *i));
+ for (args::StringSetArg::ConstIterator i(resolution_options.a_avoid.begin_args()),
+ i_end(resolution_options.a_avoid.end_args()) ;
+ i != i_end ; ++i)
+ prefer_or_avoid_helper.add_avoid_name(disambiguate_if_necessary(env.get(), *i));
for (args::StringSetArg::ConstIterator i(resolution_options.a_favour_matching.begin_args()),
i_end(resolution_options.a_favour_matching.end_args()) ;
i != i_end ; ++i)