Seperate command opts by app

This commit is contained in:
jfmcarreira committed 2015-02-24 01:53:54 +00:00
1 parent e924a06a9e
commit 40aa4f95f3
4 files changed
+42 -24

No files matched your search

+5 -3
View File
@@ -113,10 +113,12 @@ Int PlaYUVerTools::openOutputs()
Int PlaYUVerTools::Open( Int argc, Char *argv[] )
{
Int iRet = 0;
m_cCommandLineParser.Config( argc, argv );
if( !m_cCommandLineParser.parse() )
if( ( iRet = m_cCommandLineParser.ParseToolsArgs() ) > 0 )
{
return 1;
return iRet;
}
if( openInputs() > 0 )
@@ -165,7 +167,7 @@ Int PlaYUVerTools::Open( Int argc, Char *argv[] )
printf( "No operation was selected! " );
return 2;
}
return 0;
return iRet;
}
Int PlaYUVerTools::Process()