Kenneth Porter
2007-03-11 05:48:58 UTC
Can anyone point me to some code that illustrates proper use of the command
line parsing machinery? I looked through the samples directory and only see
one very tepid use of it, which doesn't call the base wxApp::OnInit method.
How do I invoke that and still use the parser system?
For now my initial app needs a parameter to indicate which of several
sections in a configuration file should be used, eg. invocation would be
"myapp config1" or "myapp config2", with a default config assumed if no
parameter is passed.
line parsing machinery? I looked through the samples directory and only see
one very tepid use of it, which doesn't call the base wxApp::OnInit method.
How do I invoke that and still use the parser system?
For now my initial app needs a parameter to indicate which of several
sections in a configuration file should be used, eg. invocation would be
"myapp config1" or "myapp config2", with a default config assumed if no
parameter is passed.