From 408b819c6e087593ba61e82b91dda2369ef32f62 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 5 Feb 2009 21:18:37 -0400 Subject: Greatly simplified the way option and command handlers are defined. --- src/stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stream.cc') diff --git a/src/stream.cc b/src/stream.cc index 535a25a5..94282d2d 100644 --- a/src/stream.cc +++ b/src/stream.cc @@ -112,7 +112,7 @@ namespace { void output_stream_t::initialize(const optional& output_file, const optional& pager_path) { - if (output_file) + if (output_file && *output_file != "-") os = new ofstream(*output_file); else if (pager_path) pipe_to_pager_fd = do_fork(&os, *pager_path); -- cgit v1.2.3