summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/report.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/report.h b/src/report.h
index 6216f369..32523b07 100644
--- a/src/report.h
+++ b/src/report.h
@@ -229,7 +229,11 @@ public:
OPTION(report_t, anon);
OPTION(report_t, ansi);
OPTION(report_t, ansi_invert);
- OPTION(report_t, average); // -A
+
+ OPTION_(report_t, average, DO() { // -A
+ parent->HANDLER(display_total_).set_expr("total//count");
+ });
+
OPTION(report_t, balance_format_);
OPTION(report_t, base);