From 521b935aa8ef68ac3a8a1fe1a37eed39b41eec95 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 21 Jun 2009 18:07:27 +0100 Subject: Restored --percent option, added baseline test --- src/output.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/output.cc') diff --git a/src/output.cc b/src/output.cc index c4317934..057733aa 100644 --- a/src/output.cc +++ b/src/output.cc @@ -209,7 +209,8 @@ void format_accounts::flush() foreach (account_t * account, posted_accounts) displayed += post_account(*account); - if (! report.HANDLED(no_total) && displayed > 1) { + if (displayed > 1 && + ! report.HANDLED(no_total) && ! report.HANDLED(percent)) { bind_scope_t bound_scope(report, *report.session.master); separator_format.format(out, bound_scope); total_line_format.format(out, bound_scope); -- cgit v1.2.3