better happs startup message
This commit is contained in:
parent
1f41009f9a
commit
210d8f77fd
@ -32,7 +32,7 @@ tcpport = 5000
|
|||||||
|
|
||||||
happs :: [Opt] -> [String] -> Ledger -> IO ()
|
happs :: [Opt] -> [String] -> Ledger -> IO ()
|
||||||
happs opts args l = do
|
happs opts args l = do
|
||||||
putStrLn $ printf "hledger server running on port %d" tcpport
|
putStrLn $ printf "starting hledger server on port %d" tcpport
|
||||||
simpleHTTP nullConf{port=tcpport} [
|
simpleHTTP nullConf{port=tcpport} [
|
||||||
method GET $ ok $ toResponse $ output
|
method GET $ ok $ toResponse $ output
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user