Restored the --pager option.

This commit is contained in:
John Wiegley 2009-02-01 01:47:21 -04:00
parent 559a76ac2b
commit e4b1359959
2 changed files with 3 additions and 1 deletions

View file

@ -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':

View file

@ -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;
}