From 4ec2dfeef13ead1d87302ef953e05efec102bb25 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 17 Feb 2009 21:19:31 -0400 Subject: Added --flat option, to flatten the balance report --- src/output.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/output.h') diff --git a/src/output.h b/src/output.h index bb1b907b..ded29143 100644 --- a/src/output.h +++ b/src/output.h @@ -163,13 +163,16 @@ protected: report_t& report; format_t format; item_predicate disp_pred; + bool flatten_list; public: format_accounts(report_t& _report, - const string& _format = "") - : report(_report), format(_format), disp_pred() + const string& _format = "", + bool _flatten_list = false) + : report(_report), format(_format), disp_pred(), + flatten_list(_flatten_list) { - TRACE_CTOR(format_accounts, "report&, const string&, const bool"); + TRACE_CTOR(format_accounts, "report&, const string&, bool"); if (report.HANDLED(display_)) { DEBUG("account.display", -- cgit v1.2.3