summaryrefslogtreecommitdiff
path: root/src/chain.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-05 23:26:21 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-05 23:26:21 -0400
commitfb9af0f1116992410b7b4aab352cc843be591587 (patch)
treeb03235b9cba14c78c2879f8a22cce8c24c0f00e6 /src/chain.cc
parent5167e6223b7a0e60a7e8db160902653fca9f2908 (diff)
downloadfork-ledger-fb9af0f1116992410b7b4aab352cc843be591587.tar.gz
fork-ledger-fb9af0f1116992410b7b4aab352cc843be591587.tar.bz2
fork-ledger-fb9af0f1116992410b7b4aab352cc843be591587.zip
Removed the --totals option
Diffstat (limited to 'src/chain.cc')
-rw-r--r--src/chain.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/chain.cc b/src/chain.cc
index 9d74f744..04af1601 100644
--- a/src/chain.cc
+++ b/src/chain.cc
@@ -90,10 +90,8 @@ post_handler_ptr chain_post_handlers(report_t& report,
report, report.HANDLED(revalued_only)));
}
- // calc_posts computes the running total. When this appears will determine,
- // for example, whether filtered posts are included or excluded from the
- // running total.
- handler.reset(new calc_posts(handler, expr, report.HANDLED(totals)));
+ // calc_posts computes visited posting values and the running total
+ handler.reset(new calc_posts(handler, expr, only_preliminaries));
// unround_posts will unround the amounts in all postings
if (report.HANDLED(unround))