summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/report.h b/src/report.h
index 53bddaae..3d246cc8 100644
--- a/src/report.h
+++ b/src/report.h
@@ -310,7 +310,9 @@ public:
on("%y-%b-%d");
});
- OPTION(report_t, deviation); // -D
+ OPTION_(report_t, deviation, DO() { // -D
+ parent->HANDLER(display_total_).set_expr("amount_expr-total_expr/count");
+ });
OPTION__
(report_t, display_, // -d