From 48d985aacc5106592aa191c707315ee24917aacb Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 15 Feb 2009 15:50:15 -0400 Subject: Restored the --average (-A) report option --- src/report.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3