summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/report.cc b/src/report.cc
index da56e141..76f1df39 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -391,6 +391,7 @@ option_t<report_t> * report_t::lookup_option(const char * p)
break;
case 'n':
OPT_CH(collapse);
+ else OPT(no_total);
break;
case 'o':
OPT(only_);
@@ -481,8 +482,8 @@ expr_t::ptr_op_t report_t::lookup(const string& name)
if (*(q + 1) == '\0' || is_eq(q, "bal") || is_eq(q, "balance"))
return expr_t::op_t::wrap_functor
(reporter<account_t, acct_handler_ptr, &report_t::accounts_report>
- (new format_accounts(*this, report_format(HANDLER(balance_format_)),
- HANDLED(flat)), *this));
+ (new format_accounts(*this, report_format(HANDLER(balance_format_))),
+ *this));
break;
case 'c':