Change ProgramOptions functions to classes and create a new parser from string arrays

This commit is contained in:
2015-03-24 17:50:23 +00:00
parent 53d5ae4139
commit fb36f82bc1
7 changed files with 247 additions and 311 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ Bool plaYUVerApp::parseArgs( Int argc, Char *argv[] )
if( m_pcCmdParser->Opts()["help"]->count() )
{
printf( "Usage: %s [options] input_file[s]\n", argv[0] );
doHelp( std::cout, m_pcCmdParser->Opts() );
m_pcCmdParser->Opts().doHelp( std::cout );
bRet |= true;
}
if( m_pcCmdParser->Opts()["input"]->count() )