From e2605ba3c9ca35524b0c86e74ffa37bee548aef3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 15 Jun 2012 11:00:52 +0200 Subject: Add support for specifying output stream type (--stream-type) --- cli/source.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/source.cxx') diff --git a/cli/source.cxx b/cli/source.cxx index 883e49d..7fb1391 100644 --- a/cli/source.cxx +++ b/cli/source.cxx @@ -690,7 +690,8 @@ namespace // If len is 0 then it means we have no options to print. // os << "void " << name << "::" << endl - << "print_usage (::std::ostream&" << (len != 0 || b ? " os)" : ")") + << "print_usage (" << options.ostream_type () << "&" << + (len != 0 || b ? " os)" : ")") << "{"; // Call our bases. -- cgit v1.1