Fix parsing cli args in Calyp
This commit is contained in:
1 parent
684cecd632
commit
7b712bb232
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user