diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-15 11:00:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-15 11:00:52 +0200 |
commit | e2605ba3c9ca35524b0c86e74ffa37bee548aef3 (patch) | |
tree | 5ff3f5145fa9731895e2bf470efb7c94585331a8 /cli/source.cxx | |
parent | 5473563e9af0abbc81a3cfd7079c34fbc75dfdb4 (diff) |
Add support for specifying output stream type (--stream-type)
Diffstat (limited to 'cli/source.cxx')
-rw-r--r-- | cli/source.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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. |