;cli: fix "hledger CMD --info" with older info
This should open the info node for CMD, but was giving an error with info 4.8 on macs. Now it's more robust.
This commit is contained in:
		
							parent
							
								
									36aa01f67a
								
							
						
					
					
						commit
						72a9b612c1
					
				| @ -132,4 +132,4 @@ runInfoForTopic tool mtopic = | |||||||
|     BC.hPutStrLn h $ toolDocInfo tool |     BC.hPutStrLn h $ toolDocInfo tool | ||||||
|     hClose h |     hClose h | ||||||
|     callCommand $ dbg1 "info command" $ |     callCommand $ dbg1 "info command" $ | ||||||
|       "info " ++ f ++ maybe "" (printf " -n '%s'") mtopic |       "info -f " ++ f ++ maybe "" (printf " -n '%s'") mtopic | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user