File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ private void Main()
5858 var importSettings = ArgParser . Parse ( null , rootFolder ) ;
5959
6060 // if have files, process them
61- if ( importSettings != null )
61+ if ( importSettings . errors . Count == 0 )
6262 {
6363 // NOTE no background thread from commandline
6464 ProcessAllFiles ( importSettings ) ;
@@ -95,8 +95,8 @@ private static void ProcessAllFiles(System.Object importSettingsObject)
9595 // loop input files
9696 for ( int i = 0 , len = importSettings . maxFiles ; i < len ; i ++ )
9797 {
98- Console . WriteLine ( "\n Reading file (" + i + "/" + ( len - 1 ) + ") : " + importSettings . inputFiles [ i ] + " (" + Tools . HumanReadableFileSize ( new FileInfo ( importSettings . inputFiles [ i ] ) . Length ) + ")" ) ;
99- Debug . WriteLine ( "\n Reading file (" + i + "/" + ( len - 1 ) + ") : " + importSettings . inputFiles [ i ] + " (" + Tools . HumanReadableFileSize ( new FileInfo ( importSettings . inputFiles [ i ] ) . Length ) + ")" ) ;
98+ Console . WriteLine ( "\n Reading file (" + ( i + 1 ) + "/" + len + ") : " + importSettings . inputFiles [ i ] + " (" + Tools . HumanReadableFileSize ( new FileInfo ( importSettings . inputFiles [ i ] ) . Length ) + ")" ) ;
99+ Debug . WriteLine ( "\n Reading file (" + ( i + 1 ) + "/" + len + ") : " + importSettings . inputFiles [ i ] + " (" + Tools . HumanReadableFileSize ( new FileInfo ( importSettings . inputFiles [ i ] ) . Length ) + ")" ) ;
100100
101101 //if (abort==true)
102102
You can’t perform that action at this time.
0 commit comments