diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-07 23:20:10 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-07 23:20:10 -0400 |
commit | 59c0692233812eeba568dac735d7b4d4576cf30a (patch) | |
tree | 79c3fa592dc5a57be4c6d2de7a47f1efdbf72562 /main.cc | |
parent | effa82793fbddce8c04ea9387b7389ac5b8f0a59 (diff) | |
download | fork-ledger-59c0692233812eeba568dac735d7b4d4576cf30a.tar.gz fork-ledger-59c0692233812eeba568dac735d7b4d4576cf30a.tar.bz2 fork-ledger-59c0692233812eeba568dac735d7b4d4576cf30a.zip |
moved display only flags to dflags in both transactions and accounts
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -574,7 +574,9 @@ int main(int argc, char * argv[]) display_predicate_string = "T"; else if (command == "E") display_predicate_string = "a"; - } else { + } + + if (! display_predicate_string.empty()) { #ifdef DEBUG if (debug) std::cerr << "disp-pred = " << display_predicate_string << std::endl; @@ -712,8 +714,10 @@ int main(int argc, char * argv[]) if (const char * p = std::getenv("LEDGER_CACHE")) { std::ofstream outstr(p); assert(std::getenv("LEDGER")); +#if 0 clear_transaction_display_flags(journal->entries.begin(), journal->entries.end()); +#endif write_binary_journal(outstr, journal.get(), std::getenv("LEDGER")); } |