summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/report.cc b/src/report.cc
index fa71e584..b882ca92 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -1272,7 +1272,7 @@ expr_t::ptr_op_t report_t::lookup(const symbol_t::kind_t kind,
switch (*p) {
case 'a':
if (is_eq(p, "args"))
- return WRAP_FUNCTOR(args_command);
+ return WRAP_FUNCTOR(query_command);
break;
case 'e':
if (is_eq(p, "eval"))
@@ -1294,6 +1294,10 @@ expr_t::ptr_op_t report_t::lookup(const symbol_t::kind_t kind,
else if (is_eq(p, "period"))
return WRAP_FUNCTOR(period_command);
break;
+ case 'q':
+ if (is_eq(p, "query"))
+ return WRAP_FUNCTOR(query_command);
+ break;
case 't':
if (is_eq(p, "template"))
return WRAP_FUNCTOR(template_command);