Command line parsing
Kenneth Porter
shiva.blacklist at sewingwitch.com
Sat Mar 10 21:48:58 PST 2007
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.
More information about the wx-users
mailing list