diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-04 20:46:45 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-04 20:46:45 -0400 |
commit | 7d628d88ff54ac08df499406bb87b87c3f8989a3 (patch) | |
tree | dff9bc75f6830425754a0bdc011a28b7c291bde5 /src/session.cc | |
parent | 863b5d814443eb791c2dd07250ac0ae29054adb0 (diff) | |
download | fork-ledger-7d628d88ff54ac08df499406bb87b87c3f8989a3.tar.gz fork-ledger-7d628d88ff54ac08df499406bb87b87c3f8989a3.tar.bz2 fork-ledger-7d628d88ff54ac08df499406bb87b87c3f8989a3.zip |
Moved the --pager option to the session object, rather than the report object.
Diffstat (limited to 'src/session.cc')
-rw-r--r-- | src/session.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/session.cc b/src/session.cc index 25acd821..64c320e9 100644 --- a/src/session.cc +++ b/src/session.cc @@ -385,6 +385,11 @@ expr_t::ptr_op_t session_t::lookup(const string& name) return MAKE_FUNCTOR(session_t::option_file_); break; + case 'p': + if (std::strcmp(p, "pager_") == 0) + return MAKE_FUNCTOR(session_t::option_pager_); + break; + case 't': if (std::strcmp(p, "trace_") == 0) return MAKE_FUNCTOR(session_t::option_trace_); |