diff options
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/report.h b/src/report.h index 1aff9212..8bcd6b57 100644 --- a/src/report.h +++ b/src/report.h @@ -219,7 +219,12 @@ public: OPTION(report_t, cache_); OPTION(report_t, cleared); // -C OPTION(report_t, code_as_payee); - OPTION(report_t, collapse); // -n + + OPTION_(report_t, collapse, DO() { // -n + // Make sure that balance reports are collapsed too + parent->append_display_predicate("depth<=1"); + }); + OPTION(report_t, comm_as_payee); // -x OPTION(report_t, cost); OPTION(report_t, csv_format_); |