summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2020-08-13 12:59:44 -0700
committerJohn Wiegley <johnw@newartisans.com>2022-02-03 09:01:18 -0800
commitc99a4b03320242d3d5a6d64f73f8581fe5ea2306 (patch)
treef032b8fda5ba29df7541474300e364397882aa0a /src/report.h
parent436895905d19f8ef0d3258cd515052a0e540b8b4 (diff)
downloadfork-ledger-c99a4b03320242d3d5a6d64f73f8581fe5ea2306.tar.gz
fork-ledger-c99a4b03320242d3d5a6d64f73f8581fe5ea2306.tar.bz2
fork-ledger-c99a4b03320242d3d5a6d64f73f8581fe5ea2306.zip
Revert "Revert "Change --invert to invert displayed amounts and totals, not amounts""
This reverts commit 1600ee1f64f659b151c1c873d478baa1bdab89f2.
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/report.h b/src/report.h
index 95d87e1e..d3821e84 100644
--- a/src/report.h
+++ b/src/report.h
@@ -736,7 +736,8 @@ public:
OPTION(report_t, inject_);
OPTION_(report_t, invert, DO() {
- OTHER(amount_).on(whence, "-amount_expr");
+ OTHER(display_amount_).on(whence, "-display_amount");
+ OTHER(display_total_).on(whence, "-display_total");
});
OPTION_