Skip to content

Commit

Permalink
Change --invert to invert displayed amounts and totals, not amounts
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Jul 5, 2019
1 parent c4eab00 commit 9ad0dcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/report.h
Expand Up @@ -732,7 +732,8 @@ class report_t : public scope_t
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_
Expand Down

0 comments on commit 9ad0dcc

Please sign in to comment.