aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_show.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_show.cc')
-rw-r--r--src/clients/cave/cmd_show.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_show.cc b/src/clients/cave/cmd_show.cc
index a78d9fbee..b519c0f08 100644
--- a/src/clients/cave/cmd_show.cc
+++ b/src/clients/cave/cmd_show.cc
@@ -502,6 +502,19 @@ namespace
);
}
+ void visit(const MetadataCollectionKey<Maintainers> & k)
+ {
+ ColourPrettyPrinter printer(env.get(), maybe_current_id, indent);
+ out << fuc(
+ (cmdline.a_raw_names.specified() ? fs_metadata_value_raw() : fs_metadata_value_human()),
+ fv<'s'>(cmdline.a_raw_names.specified() ? k.raw_name() : k.human_name()),
+ fv<'v'>(k.pretty_print_value(printer, basic_ppos)),
+ fv<'i'>(std::string(indent, ' ')),
+ fv<'b'>(important ? "true" : ""),
+ fv<'p'>("")
+ );
+ }
+
void visit(const MetadataCollectionKey<PackageIDSequence> & k)
{
ColourPrettyPrinter printer(env.get(), maybe_current_id, indent);