summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/report.h b/src/report.h
index 6806dc62..f8077d0b 100644
--- a/src/report.h
+++ b/src/report.h
@@ -379,7 +379,10 @@ public:
OPTION(report_t, format_); // -F
OPTION(report_t, gain); // -G
OPTION(report_t, head_);
- OPTION(report_t, invert);
+
+ OPTION_(report_t, invert, DO() {
+ parent->HANDLER(amount_).set_expr("-amount");
+ });
OPTION__
(report_t, limit_, // -l