summaryrefslogtreecommitdiff
path: root/src/output.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-20 15:04:55 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-20 15:41:49 -0400
commit31feaad1056cda45f3b8cfa0faff45ddc8487c09 (patch)
tree8c69685fae1ec95d37dd1f45ad9a34f43e5dbd61 /src/output.h
parent40f2ff6d6f7902c4957e0710a5a9d09c1f49ad1e (diff)
downloadfork-ledger-31feaad1056cda45f3b8cfa0faff45ddc8487c09.tar.gz
fork-ledger-31feaad1056cda45f3b8cfa0faff45ddc8487c09.tar.bz2
fork-ledger-31feaad1056cda45f3b8cfa0faff45ddc8487c09.zip
Added --no-total option
This simply omits the final total in the balance report, nothing more.
Diffstat (limited to 'src/output.h')
-rw-r--r--src/output.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/output.h b/src/output.h
index f638f4de..18718c7c 100644
--- a/src/output.h
+++ b/src/output.h
@@ -163,16 +163,13 @@ protected:
report_t& report;
format_t format;
item_predicate disp_pred;
- bool flatten_list;
std::list<account_t *> posted_accounts;
public:
format_accounts(report_t& _report,
- const string& _format = "",
- bool _flatten_list = false)
- : report(_report), format(_format), disp_pred(),
- flatten_list(_flatten_list)
+ const string& _format = "")
+ : report(_report), format(_format), disp_pred()
{
TRACE_CTOR(format_accounts, "report&, const string&, bool");