summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/precmd.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/precmd.cc b/src/precmd.cc
index 95f3e875..38860766 100644
--- a/src/precmd.cc
+++ b/src/precmd.cc
@@ -200,7 +200,8 @@ value_t query_command(call_scope_t& args)
args.value().dump(out);
out << std::endl << std::endl;
- query_t query(args.value(), report.what_to_keep());
+ query_t query(args.value(), report.what_to_keep(),
+ ! report.HANDLED(collapse));
if (query) {
call_scope_t sub_args(static_cast<scope_t&>(args));
sub_args.push_back(string_value(query.text()));