summaryrefslogtreecommitdiff
path: root/cli/header.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-11-28 11:41:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-11-28 11:41:15 +0200
commit36e3bc290d58ad29692a4d594f37a6cb761912c7 (patch)
tree3ebbc1edf910e5168fb819404ecedbf23c95b9d0 /cli/header.cxx
parenta376ccf37122f0768fce8e3c5a16561e01ee2351 (diff)
Use a scanner interface instead of argc/argv
This will allow supporting other sources of options, for example, an option file.
Diffstat (limited to 'cli/header.cxx')
-rw-r--r--cli/header.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/cli/header.cxx b/cli/header.cxx
index 2749b6d..0cc9ede 100644
--- a/cli/header.cxx
+++ b/cli/header.cxx
@@ -123,10 +123,8 @@ namespace
// _parse()
//
os << "private:" << endl
- << "int" << endl
- << "_parse (int start," << endl
- << "int argc," << endl
- << "char** argv," << endl
+ << "void" << endl
+ << "_parse (::cli::scanner&," << endl
<< um << " option," << endl
<< um << " argument);"
<< endl;