aboutsummaryrefslogtreecommitdiff
path: root/src/output/console_query_task.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/console_query_task.cc')
-rw-r--r--src/output/console_query_task.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/output/console_query_task.cc b/src/output/console_query_task.cc
index 50e0c2238..dbd0d7f3b 100644
--- a/src/output/console_query_task.cc
+++ b/src/output/console_query_task.cc
@@ -519,6 +519,23 @@ namespace
}
}
+ void visit(const MetadataSizeKey & k)
+ {
+ if (k.type() == type)
+ {
+ if (task->want_raw())
+ {
+ task->output_left_column(k.raw_name() + ":", in);
+ task->output_right_column(stringify(k.value()));
+ }
+ else
+ {
+ task->output_left_column(k.human_name() + ":", in);
+ task->output_right_column(k.pretty_print());
+ }
+ }
+ }
+
void visit(const MetadataSectionKey & k)
{
if (k.type() == type)