aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/info_metadata_key.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/info_metadata_key.cc')
-rw-r--r--paludis/repositories/e/info_metadata_key.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/paludis/repositories/e/info_metadata_key.cc b/paludis/repositories/e/info_metadata_key.cc
index 1e78bc554..11744495a 100644
--- a/paludis/repositories/e/info_metadata_key.cc
+++ b/paludis/repositories/e/info_metadata_key.cc
@@ -42,6 +42,8 @@
#include <paludis/environment.hh>
#include <paludis/package_id.hh>
#include <paludis/formatter.hh>
+#include <paludis/pretty_printer.hh>
+#include <paludis/call_pretty_printer.hh>
#include <map>
#include <algorithm>
@@ -225,6 +227,15 @@ InfoVarsMetadataKey::pretty_print_flat(const Formatter<std::string> & f) const
}
const std::string
+InfoVarsMetadataKey::pretty_print_value(
+ const PrettyPrinter & pretty_printer,
+ const PrettyPrintOptions &) const
+{
+ using namespace std::placeholders;
+ return join(value()->begin(), value()->end(), " ", CallPrettyPrinter(pretty_printer));
+}
+
+const std::string
InfoPkgsMetadataKey::raw_name() const
{
return "info_pkgs";