ui, web: sync some things in help & manual

This commit is contained in:
Simon Michael 2017-01-05 17:09:04 -08:00
parent 5c4d6524e2
commit 83975d25eb
3 changed files with 9 additions and 6 deletions

View File

@ -26,7 +26,7 @@ prognameandversion = progname ++ " " ++ version :: String
uiflags = [ uiflags = [
-- flagNone ["debug-ui"] (\opts -> setboolopt "rules-file" opts) "run with no terminal output, showing console" -- flagNone ["debug-ui"] (\opts -> setboolopt "rules-file" opts) "run with no terminal output, showing console"
flagNone ["watch"] (\opts -> setboolopt "watch" opts) "watch for data changes and reload automatically" flagNone ["watch"] (\opts -> setboolopt "watch" opts) "watch for data and date changes and reload automatically"
,flagReq ["theme"] (\s opts -> Right $ setopt "theme" s opts) "THEME" ("use this custom display theme ("++intercalate ", " themeNames++")") ,flagReq ["theme"] (\s opts -> Right $ setopt "theme" s opts) "THEME" ("use this custom display theme ("++intercalate ", " themeNames++")")
,flagReq ["register"] (\s opts -> Right $ setopt "register" s opts) "ACCTREGEX" "start in the (first) matched account's register" ,flagReq ["register"] (\s opts -> Right $ setopt "register" s opts) "ACCTREGEX" "start in the (first) matched account's register"
,flagNone ["change"] (\opts -> setboolopt "change" opts) ,flagNone ["change"] (\opts -> setboolopt "change" opts)

View File

@ -50,7 +50,7 @@ Note: if invoking hledger-ui as a hledger subcommand, write `--` before options
Any QUERYARGS are interpreted as a hledger search query which filters the data. Any QUERYARGS are interpreted as a hledger search query which filters the data.
`--watch` `--watch`
: watch for data (and time) changes and reload automatically : watch for data and date changes and reload automatically
`--theme=default|terminal|greenterm` `--theme=default|terminal|greenterm`
: use this custom display theme : use this custom display theme

View File

@ -111,14 +111,17 @@ hledger-web will show an error until the file has been fixed.
Note: if invoking hledger-web as a hledger subcommand, write `--` before options as shown above. Note: if invoking hledger-web as a hledger subcommand, write `--` before options as shown above.
`--server` `--serve`
: disable browser-opening and auto-exit-on-idle, and log all requests to stdout : serve and log requests, don't browse or auto-exit
`--host=IPADDR`
: listen on this IP address (default: 127.0.0.1)
`--port=PORT` `--port=PORT`
: set the TCP port to listen on (default: 5000) : listen on this TCP port (default: 5000)
`--base-url=URL` `--base-url=URL`
: set the base url (default: http://localhost:PORT). : set the base url (default: http://IPADDR:PORT).
You would change this when sharing over the network, or integrating within a larger website. You would change this when sharing over the network, or integrating within a larger website.
`--file-url=URL` `--file-url=URL`