diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-15 15:50:15 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-15 15:50:15 -0400 |
commit | 48d985aacc5106592aa191c707315ee24917aacb (patch) | |
tree | da9f2eea63057b73dd1a520b72ed4904c36920d4 | |
parent | 3ef07ae39f83203738846e36523cef938a70288f (diff) | |
download | fork-ledger-48d985aacc5106592aa191c707315ee24917aacb.tar.gz fork-ledger-48d985aacc5106592aa191c707315ee24917aacb.tar.bz2 fork-ledger-48d985aacc5106592aa191c707315ee24917aacb.zip |
Restored the --average (-A) report option
-rw-r--r-- | src/report.h | 6 |
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); |