Restored the --pager option.
This commit is contained in:
parent
559a76ac2b
commit
e4b1359959
2 changed files with 3 additions and 1 deletions
|
|
@ -772,6 +772,8 @@ expr_t::ptr_op_t report_t::lookup(const string& name)
|
||||||
return MAKE_FUNCTOR(report_t::option_price);
|
return MAKE_FUNCTOR(report_t::option_price);
|
||||||
else if (std::strcmp(p, "price_db_") == 0)
|
else if (std::strcmp(p, "price_db_") == 0)
|
||||||
return MAKE_FUNCTOR(report_t::option_price_db_);
|
return MAKE_FUNCTOR(report_t::option_price_db_);
|
||||||
|
else if (std::strcmp(p, "pager_") == 0)
|
||||||
|
return MAKE_FUNCTOR(report_t::option_pager_);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'q':
|
case 'q':
|
||||||
|
|
|
||||||
|
|
@ -445,7 +445,7 @@ public:
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
value_t option_pager(call_scope_t& args) { // :
|
value_t option_pager_(call_scope_t& args) { // :
|
||||||
pager_path = args[0].as_string();
|
pager_path = args[0].as_string();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue