api: fix the version string in help and swagger

This commit is contained in:
Simon Michael 2016-11-21 07:56:53 -08:00
parent 1bcc091a44
commit 8c1fca78ee

View File

@ -34,12 +34,12 @@ import Text.Printf
import Hledger.Query import Hledger.Query
import Hledger.Cli hiding (Reader, version) import Hledger.Cli hiding (Reader, version)
hledgerApiVersion="0.27.98" hledgerApiVersion="1.0"
-- https://github.com/docopt/docopt.hs#readme -- https://github.com/docopt/docopt.hs#readme
doc :: Docopt doc :: Docopt
doc = [docopt| doc = [docopt|
hledger-api 0.27.98 hledger-api 1.0
Serves hledger data and reports as a JSON web API. Serves hledger data and reports as a JSON web API.