diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-14 10:52:55 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-14 10:52:55 +0200 |
commit | 3e10322425fa0a3cf6e125bc6f9d833b015cc9b5 (patch) | |
tree | 3ee842d8bff4ba1d2aaf22ed0936a77d60038509 /cli/header.cxx | |
parent | 4433307f8c0c6cfbcabe3316e98b9699223c97d3 (diff) |
Implement the --cli-namespace option
Diffstat (limited to 'cli/header.cxx')
-rw-r--r-- | cli/header.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/header.cxx b/cli/header.cxx index e43c0af..7905b22 100644 --- a/cli/header.cxx +++ b/cli/header.cxx @@ -88,7 +88,7 @@ namespace // c-tors // - string um ("::cli::unknown_mode"); + string um (cli + "::unknown_mode"); os << name << " (int& argc," << endl << "char** argv," << endl @@ -122,7 +122,7 @@ namespace << um << " argument = " << um << "::stop);" << endl; - os << name << " (::cli::scanner&," << endl + os << name << " (" << cli << "::scanner&," << endl << um << " option = " << um << "::fail," << endl << um << " argument = " << um << "::stop);" << endl; @@ -150,7 +150,7 @@ namespace // os << "private:" << endl << "void" << endl - << "_parse (::cli::scanner&," << endl + << "_parse (" << cli << "::scanner&," << endl << um << " option," << endl << um << " argument);" << endl; |