From 5532a1a8b756f0f7499570afccb1d4fc3e9bc76d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 27 Feb 2012 11:52:23 -0600 Subject: Added --check-payees option --- 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 cc069efe..797ee3e5 100644 --- a/src/session.cc +++ b/src/session.cc @@ -99,6 +99,8 @@ std::size_t session_t::read_data(const string& master_account) if (HANDLED(explicit)) journal->force_checking = true; + if (HANDLED(check_payees)) + journal->check_payees = true; if (HANDLED(permissive)) journal->checking_style = journal_t::CHECK_PERMISSIVE; @@ -248,6 +250,7 @@ option_t * session_t::lookup_option(const char * p) break; case 'c': OPT(cache_); + else OPT(check_payees); break; case 'd': OPT(download); // -Q -- cgit v1.2.3