mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-29 13:22:27 +03:00
clarification
This commit is contained in:
parent
15c39ac6c9
commit
fda4085e80
@ -16,10 +16,10 @@ import Hledger.Web.Settings
|
|||||||
progname = Hledger.Cli.progname ++ "-web"
|
progname = Hledger.Cli.progname ++ "-web"
|
||||||
progversion = progversionstr progname
|
progversion = progversionstr progname
|
||||||
|
|
||||||
defbaseurl' = (reverse $ drop 4 $ reverse $ defbaseurl defport) ++ "PORT"
|
defbaseurlexample = (reverse $ drop 4 $ reverse $ defbaseurl defport) ++ "PORT"
|
||||||
|
|
||||||
webflags = [
|
webflags = [
|
||||||
flagReq ["base-url"] (\s opts -> Right $ setopt "base-url" s opts) "URL" ("set the base url (default: "++defbaseurl'++")")
|
flagReq ["base-url"] (\s opts -> Right $ setopt "base-url" s opts) "URL" ("set the base url (default: "++defbaseurlexample++")")
|
||||||
,flagReq ["port"] (\s opts -> Right $ setopt "port" s opts) "PORT" ("listen on this tcp port (default: "++show defport++")")
|
,flagReq ["port"] (\s opts -> Right $ setopt "port" s opts) "PORT" ("listen on this tcp port (default: "++show defport++")")
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user