diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-27 11:52:23 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-27 11:52:23 -0600 |
commit | 5532a1a8b756f0f7499570afccb1d4fc3e9bc76d (patch) | |
tree | 0231741233df49ddfd221faa2c115f7c55829559 /src/session.cc | |
parent | 2ec35ea6e98dcfb03fb8c2e90b85991aaa7be2fa (diff) | |
download | fork-ledger-5532a1a8b756f0f7499570afccb1d4fc3e9bc76d.tar.gz fork-ledger-5532a1a8b756f0f7499570afccb1d4fc3e9bc76d.tar.bz2 fork-ledger-5532a1a8b756f0f7499570afccb1d4fc3e9bc76d.zip |
Added --check-payees option
Diffstat (limited to 'src/session.cc')
-rw-r--r-- | src/session.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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> * session_t::lookup_option(const char * p) break; case 'c': OPT(cache_); + else OPT(check_payees); break; case 'd': OPT(download); // -Q |