aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_display_resolution.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-19 18:39:37 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-19 18:39:37 +0100
commit86ec24031e3178a56dbc381916704dc0aba5bf75 (patch)
treea4cc2069f5e62a44cb74dcd3712a8033da6ba73f /src/clients/cave/cmd_display_resolution.cc
parent569f1766e8fe4a2a16f20894b6530cb1b86f4d48 (diff)
downloadpaludis-86ec24031e3178a56dbc381916704dc0aba5bf75.tar.gz
paludis-86ec24031e3178a56dbc381916704dc0aba5bf75.tar.xz
Show active dependency labels
Diffstat (limited to 'src/clients/cave/cmd_display_resolution.cc')
-rwxr-xr-xsrc/clients/cave/cmd_display_resolution.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_display_resolution.cc b/src/clients/cave/cmd_display_resolution.cc
index fa1019fc4..2d8e51f4a 100755
--- a/src/clients/cave/cmd_display_resolution.cc
+++ b/src/clients/cave/cmd_display_resolution.cc
@@ -241,7 +241,8 @@ namespace
std::pair<std::string, Tribool> visit(const DependentReason & r) const
{
- return std::make_pair("dependent upon " + stringify(*r.dependent_upon().package_id()), true);
+ return std::make_pair("dependent upon " + stringify(*r.dependent_upon().package_id())
+ + " (" + r.dependent_upon().active_dependency_labels_as_string() + ")", true);
}
std::pair<std::string, Tribool> visit(const WasUsedByReason & r) const