api: fix the version string in help and swagger
This commit is contained in:
parent
1bcc091a44
commit
8c1fca78ee
@ -34,12 +34,12 @@ import Text.Printf
|
||||
import Hledger.Query
|
||||
import Hledger.Cli hiding (Reader, version)
|
||||
|
||||
hledgerApiVersion="0.27.98"
|
||||
hledgerApiVersion="1.0"
|
||||
|
||||
-- https://github.com/docopt/docopt.hs#readme
|
||||
doc :: Docopt
|
||||
doc = [docopt|
|
||||
hledger-api 0.27.98
|
||||
hledger-api 1.0
|
||||
|
||||
Serves hledger data and reports as a JSON web API.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user