cli: fix typo in previous patch
This commit is contained in:
		
							parent
							
								
									7d46ae6141
								
							
						
					
					
						commit
						c3954cad43
					
				@ -89,7 +89,7 @@ convert opts args _ = do
 | 
			
		||||
  when (null args) $ error' "please specify a csv data file."
 | 
			
		||||
  let csvfile = head args
 | 
			
		||||
  let 
 | 
			
		||||
    rulesFileSpecified = isNothing $ rulesFileFromOpts opts
 | 
			
		||||
    rulesFileSpecified = isJust $ rulesFileFromOpts opts
 | 
			
		||||
    usingStdin = csvfile == "-"
 | 
			
		||||
  when (usingStdin && (not rulesFileSpecified)) $ error' "please specify a files file when converting stdin"
 | 
			
		||||
  csvparse <- parseCsv csvfile
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user