aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/clients/cave/cmd_display_resolution.cc3
-rw-r--r--src/clients/cave/cmd_resolve_dump.cc3
2 files changed, 4 insertions, 2 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
diff --git a/src/clients/cave/cmd_resolve_dump.cc b/src/clients/cave/cmd_resolve_dump.cc
index d0becbd05..c77c155c1 100644
--- a/src/clients/cave/cmd_resolve_dump.cc
+++ b/src/clients/cave/cmd_resolve_dump.cc
@@ -183,7 +183,8 @@ namespace
void visit(const DependentReason & r)
{
- str = "Dependent(" + stringify(*r.dependent_upon().package_id()) + ")";
+ str = "Dependent(" + stringify(*r.dependent_upon().package_id()) + ", " +
+ r.dependent_upon().active_dependency_labels_as_string() + ")";
}
void visit(const WasUsedByReason & r)