Minor fixes in argument parser and help of playuverTools
This commit is contained in:
1 parent
3ad1a61e82
commit
f1ea625b9b
5 files changed
+26
-22
No files matched your search
@@ -86,19 +86,10 @@ Int CommandLineHandle::parseToolsArgs( Int argc, Char *argv[] )
|
||||
m_uiLogLevel = RESULT;
|
||||
}
|
||||
|
||||
if( Opts()["quality_metrics"]->count() )
|
||||
if( Opts()["help"]->count() )
|
||||
{
|
||||
printf( "PlaYUVer supported quality metrics: \n" );
|
||||
for( UInt i = 0; i < PlaYUVerFrame::supportedQualityMetricsList().size(); i++ )
|
||||
{
|
||||
printf( " %s\n", PlaYUVerFrame::supportedQualityMetricsList()[i].c_str() );
|
||||
}
|
||||
iRet = 1;
|
||||
}
|
||||
|
||||
if( Opts()["module_list"]->count() || Opts()["module_list_full"]->count() )
|
||||
{
|
||||
listModules();
|
||||
printf( "Usage: %s modules/quality [options] -input=input_file [--output=output_file]\n", argv[0] );
|
||||
doHelp( std::cout, Opts() );
|
||||
iRet = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user