cli: --version shows "dev build" when VERSION is undefined
Probably only noticeable in GHCI.
This commit is contained in:
		
							parent
							
								
									e8a58d9388
								
							
						
					
					
						commit
						6d67bcb026
					
				| @ -24,7 +24,7 @@ progname = "hledger" | ||||
| #ifdef VERSION | ||||
| version = VERSION | ||||
| #else | ||||
| version = "" | ||||
| version = "dev build" | ||||
| #endif | ||||
| prognameandversion = progname ++ " " ++ version | ||||
| prognameanddetailedversion = printf "%s %s, using %s" progname version numberRepresentation | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user