summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2019-07-05 13:01:11 -0700
committerJohn Wiegley <johnw@newartisans.com>2019-07-05 13:01:11 -0700
commit9ad0dcc85a3ec59a1dd23f36964d083cf59bd7a9 (patch)
tree95eb22bee9317791256d2404ce56e493a45d802b /src/report.h
parentc4eab0007a788703bc63db82fd995ef646820529 (diff)
downloadfork-ledger-9ad0dcc85a3ec59a1dd23f36964d083cf59bd7a9.tar.gz
fork-ledger-9ad0dcc85a3ec59a1dd23f36964d083cf59bd7a9.tar.bz2
fork-ledger-9ad0dcc85a3ec59a1dd23f36964d083cf59bd7a9.zip
Change --invert to invert displayed amounts and totals, not amounts
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 1bda0407..7775e21d 100644
--- a/src/report.h
+++ b/src/report.h
@@ -732,7 +732,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_