better happs startup message

This commit is contained in:
Simon Michael 2009-01-20 06:11:01 +00:00
parent 1f41009f9a
commit 210d8f77fd

View File

@ -32,7 +32,7 @@ tcpport = 5000
happs :: [Opt] -> [String] -> Ledger -> IO ()
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} [
method GET $ ok $ toResponse $ output
]