aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-24 03:02:54 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-24 03:02:54 +0000
commit64453b1a3c86a734620643cdd765c42d905efc49 (patch)
tree72b3ef42afb8703154ed4b0481a1b6f956b432d5
parent4386ff01f3abbce6a064e9077968f09463c9161f (diff)
downloadpaludis-64453b1a3c86a734620643cdd765c42d905efc49.tar.gz
paludis-64453b1a3c86a734620643cdd765c42d905efc49.tar.xz
When querying an old style virtual, display the package to which it resolves.
-rw-r--r--src/query.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/query.cc b/src/query.cc
index 89790b3..7dfcf45 100644
--- a/src/query.cc
+++ b/src/query.cc
@@ -130,6 +130,10 @@ void do_one_query(
if (! metadata->get(p::vmk_license).empty())
std::cout << " " << std::setw(22) << std::left << "License:" << std::setw(0) <<
" " << metadata->get(p::vmk_license) << std::endl;
+ if (! metadata->get(p::vmk_virtual).empty())
+ std::cout << " " << std::setw(22) << std::left << "Virtual for:" << std::setw(0) <<
+ " " << metadata->get(p::vmk_virtual) << std::endl;
+
/* blank line */
std::cout << std::endl;