From 57626dc9fb4b5df606b517954752a01b1f508d63 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 19 Apr 2016 10:38:40 -0700 Subject: [PATCH] bal: output CSV item amounts on one line #336 --- hledger/Hledger/Cli/Balance.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger/Hledger/Cli/Balance.hs b/hledger/Hledger/Cli/Balance.hs index 7261deb6d..24ffde7fa 100644 --- a/hledger/Hledger/Cli/Balance.hs +++ b/hledger/Hledger/Cli/Balance.hs @@ -327,7 +327,7 @@ balance opts@CliOpts{reportopts_=ropts} j = do balanceReportAsCsv :: ReportOpts -> BalanceReport -> CSV balanceReportAsCsv opts (items, total) = ["account","balance"] : - [[a, showMixedAmountWithoutPrice b] | ((a, _, _), b) <- items] + [[a, showMixedAmountOneLineWithoutPrice b] | ((a, _, _), b) <- items] ++ if no_total_ opts then []