summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-04 20:46:45 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-04 20:46:45 -0400
commit7d628d88ff54ac08df499406bb87b87c3f8989a3 (patch)
treedff9bc75f6830425754a0bdc011a28b7c291bde5 /src/session.cc
parent863b5d814443eb791c2dd07250ac0ae29054adb0 (diff)
downloadfork-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.cc5
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_);