aboutsummaryrefslogtreecommitdiff
path: root/src/clients/paludis
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/paludis')
-rw-r--r--src/clients/paludis/applets.cc6
-rw-r--r--src/clients/paludis/info.cc6
2 files changed, 12 insertions, 0 deletions
diff --git a/src/clients/paludis/applets.cc b/src/clients/paludis/applets.cc
index 8d962dc36..74e5b0385 100644
--- a/src/clients/paludis/applets.cc
+++ b/src/clients/paludis/applets.cc
@@ -160,6 +160,12 @@ namespace
std::cout << k.pretty_print_flat(f) << std::endl;
}
+ void visit(const MetadataCollectionKey<Map<std::string, std::string> > & k)
+ {
+ StringifyFormatter f;
+ std::cout << k.pretty_print_flat(f) << std::endl;
+ }
+
void visit(const MetadataCollectionKey<Sequence<std::string> > & k)
{
StringifyFormatter f;
diff --git a/src/clients/paludis/info.cc b/src/clients/paludis/info.cc
index 7d2679120..23bb93ca4 100644
--- a/src/clients/paludis/info.cc
+++ b/src/clients/paludis/info.cc
@@ -201,6 +201,12 @@ namespace
cout << std::setw(30) << (indent + k.human_name() + ":") << " " << k.pretty_print_flat(f) << endl;
}
+ void visit(const MetadataCollectionKey<Map<std::string, std::string> > & k)
+ {
+ ColourFormatter f;
+ cout << std::setw(30) << (indent + k.human_name() + ":") << " " << k.pretty_print_flat(f) << endl;
+ }
+
void visit(const MetadataCollectionKey<Sequence<std::string> > & k)
{
ColourFormatter f;