aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-04 23:17:47 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-04 23:17:47 +0000
commitb3d054b924fe7a66bb4aedf63e70a5122fe12176 (patch)
treeccbc7300308c96ddca7d219f45618b271eeff79a
parent252ffe6b427c88b8023884c17d2d72c47a9957b5 (diff)
downloadpaludis-b3d054b924fe7a66bb4aedf63e70a5122fe12176.tar.gz
paludis-b3d054b924fe7a66bb4aedf63e70a5122fe12176.tar.xz
Make --query list any slot restrictions that are in place, like it does for version restrictions.
-rw-r--r--src/query.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/query.cc b/src/query.cc
index 24c2869..0d7db14 100644
--- a/src/query.cc
+++ b/src/query.cc
@@ -52,6 +52,8 @@ void do_one_query(
std::cout << "* " << colour(cl_package_name, entries->begin()->get<p::pde_name>());
if (atom->version_spec_ptr())
std::cout << " (" << atom->version_operator() << *atom->version_spec_ptr() << ")";
+ if (atom->slot_ptr())
+ std::cout << " (:" << *atom->slot_ptr() << ")";
std::cout << std::endl;
/* find all repository names. */