mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-20 02:37:12 +03:00
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
|
#ifdef VERSION
|
||||||
version = VERSION
|
version = VERSION
|
||||||
#else
|
#else
|
||||||
version = ""
|
version = "dev build"
|
||||||
#endif
|
#endif
|
||||||
prognameandversion = progname ++ " " ++ version
|
prognameandversion = progname ++ " " ++ version
|
||||||
prognameanddetailedversion = printf "%s %s, using %s" progname version numberRepresentation
|
prognameanddetailedversion = printf "%s %s, using %s" progname version numberRepresentation
|
||||||
|
Loading…
Reference in New Issue
Block a user