Introduce a log function and apply log level. from now on the use of CommandLineHandle::log should be used from print operations

This commit is contained in:
jfmcarreira committed 2015-03-19 01:00:50 +00:00
1 parent 7a2cd6b035
commit a52012a762
6 files changed
+93 -44

No files matched your search

+2 -1
View File
@@ -53,7 +53,7 @@ Void PlaYUVerCmdParser::Config( Int argc, Char *argv[] )
po::options_description PlaYUVerCmdParser::GetCommandOpts()
{
po::options_description inputOpts( "Input" );
po::options_description inputOpts( "InputOutput" );
inputOpts.add_options()/**/
( "input,i", po::value<std::vector<std::string> >(), "input file" ) /**/
( "output,o", po::value<std::vector<std::string> >(), "output file" ) /**/
@@ -64,6 +64,7 @@ po::options_description PlaYUVerCmdParser::GetCommandOpts()
po::options_description commonOpts( "Common" );
commonOpts.add_options()/**/
( "quiet,q", "disable verbose" )/**/
( "help", "produce help message" )/**/
( "version", "show version and exit" );
commonOpts.add( inputOpts );