From d853a58f5fd519f756c591b9c3622df179a0809c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 5 Feb 2009 21:54:46 -0400 Subject: Moved --pager handler back into report_t. --- src/global.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/global.cc') diff --git a/src/global.cc b/src/global.cc index b04b4498..915713bc 100644 --- a/src/global.cc +++ b/src/global.cc @@ -169,9 +169,12 @@ void global_scope_t::execute_command(strings_list args, bool at_repl) // by the caller of this function. report().output_stream - .initialize(report().HANDLER(output_) ? + .initialize(report().HANDLED(output_) ? optional(path(report().HANDLER(output_).str())) : - optional(), session().pager_path); + optional(), + report().HANDLED(pager_) ? + optional(path(report().HANDLER(pager_).str())) : + optional()); // Create an argument scope containing the report command's arguments, and // then invoke the command. The bound scope causes lookups to happen -- cgit v1.2.3