summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cc b/main.cc
index 65cddf27..31bd32e1 100644
--- a/main.cc
+++ b/main.cc
@@ -810,6 +810,8 @@ int main(int argc, char * argv[])
if (const char * p = std::getenv("LEDGER_CACHE")) {
std::ofstream outstr(p);
assert(std::getenv("LEDGER"));
+ clear_transaction_display_flags(journal->entries.begin(),
+ journal->entries.end());
write_binary_journal(outstr, journal.get(), std::getenv("LEDGER"));
}