From 22c1b867f03e4a495f9e47c899d1fdfcaec3a659 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 17 Mar 2012 05:27:43 -0500 Subject: Added option --day-break --- src/session.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/session.cc') diff --git a/src/session.cc b/src/session.cc index 76061de7..5c9e4fd4 100644 --- a/src/session.cc +++ b/src/session.cc @@ -105,6 +105,8 @@ std::size_t session_t::read_data(const string& master_account) journal->force_checking = true; if (HANDLED(check_payees)) journal->check_payees = true; + if (HANDLED(day_break)) + journal->day_break = true; if (HANDLED(permissive)) journal->checking_style = journal_t::CHECK_PERMISSIVE; @@ -320,6 +322,7 @@ option_t * session_t::lookup_option(const char * p) case 'd': OPT(download); // -Q else OPT(decimal_comma); + else OPT(day_break); break; case 'e': OPT(explicit); -- cgit v1.2.3