summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/report.cc2
-rw-r--r--src/report.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/report.cc b/src/report.cc
index e811666a..4405b882 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -772,6 +772,8 @@ expr_t::ptr_op_t report_t::lookup(const string& name)
return MAKE_FUNCTOR(report_t::option_price);
else if (std::strcmp(p, "price_db_") == 0)
return MAKE_FUNCTOR(report_t::option_price_db_);
+ else if (std::strcmp(p, "pager_") == 0)
+ return MAKE_FUNCTOR(report_t::option_pager_);
break;
case 'q':
diff --git a/src/report.h b/src/report.h
index d0a29f75..244e9465 100644
--- a/src/report.h
+++ b/src/report.h
@@ -445,7 +445,7 @@ public:
return true;
}
- value_t option_pager(call_scope_t& args) { // :
+ value_t option_pager_(call_scope_t& args) { // :
pager_path = args[0].as_string();
return true;
}