cli: separate some version things

This commit is contained in:
Simon Michael 2021-08-05 21:48:55 -10:00
parent 918c243fa9
commit 1492fca8f1

View File

@ -23,8 +23,10 @@ import Hledger.Utils
-- package name and version from the cabal file
progname, version, prognameandversion :: String
progname :: String
progname = "hledger"
version :: String
#ifdef VERSION
version = VERSION
#else