diff options
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/report.cc b/src/report.cc index b016ba95..8ccdfad1 100644 --- a/src/report.cc +++ b/src/report.cc @@ -689,7 +689,7 @@ expr_t::ptr_op_t report_t::lookup(const string& name) (reporter<> (new format_posts(*this, report_format(HANDLER(print_format_))), *this, "#equity")); - else if (is_eq(q, "xact") || is_eq(q, "entry")) + else if (is_eq(q, "entry")) return WRAP_FUNCTOR(xact_command); else if (is_eq(q, "emacs")) return WRAP_FUNCTOR @@ -733,6 +733,11 @@ expr_t::ptr_op_t report_t::lookup(const string& name) if (is_eq(q, "server") && maybe_import("ledger.server")) return session.lookup(string(CMD_PREFIX) + "server"); break; + + case 'x': + if (is_eq(q, "xact")) + return WRAP_FUNCTOR(xact_command); + break; } } else if (is_eq(p, "cyan")) |