aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-18 20:31:32 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-18 20:31:32 +0000
commitbeb90ceb6828994c1a7145f956ed553f1fbf29e3 (patch)
tree0cc887e055fa064dcdea7032d337a7a8633a8201
parent886afb9f0d6247b82ec964c69be826d337037fbb (diff)
downloadpaludis-beb90ceb6828994c1a7145f956ed553f1fbf29e3.tar.gz
paludis-beb90ceb6828994c1a7145f956ed553f1fbf29e3.tar.xz
Display more information for virtuals with --query
-rw-r--r--src/paludis/query.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/paludis/query.cc b/src/paludis/query.cc
index 5dfe5d6..3f62b7a 100644
--- a/src/paludis/query.cc
+++ b/src/paludis/query.cc
@@ -281,6 +281,10 @@ void do_one_query(
provide_string.empty())
cout << " " << std::setw(22) << std::left << "Provides:" << std::setw(0) <<
" " << metadata->get_ebuild_interface()->provide_string << endl;
+
+ if (metadata->get_virtual_interface())
+ cout << " " << std::setw(22) << std::left << "Virtual for:" << std::setw(0) <<
+ " " << metadata->get_virtual_interface()->virtual_for << endl;
}