Fix parsing cli args in Calyp

This commit is contained in:
2020-12-12 11:05:39 +00:00
parent 684cecd632
commit 7b712bb232
+1 -1
View File
@@ -101,7 +101,7 @@ bool MainWindow::parseArgs( int argc, char* argv[] )
( "size,s", strResolution, "size (WxH)" ) /**/
( "pel_fmt", strPelFmt, "pixel format" );
if( !pcCmdParser.parse( argc, argv ) )
if( pcCmdParser.parse( argc, argv ) < 0 )
{
bRet |= true;
}