ui, web: sync some things in help & manual
This commit is contained in:
parent
5c4d6524e2
commit
83975d25eb
@ -26,7 +26,7 @@ prognameandversion = progname ++ " " ++ version :: String
|
||||
|
||||
uiflags = [
|
||||
-- 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 ["register"] (\s opts -> Right $ setopt "register" s opts) "ACCTREGEX" "start in the (first) matched account's register"
|
||||
,flagNone ["change"] (\opts -> setboolopt "change" opts)
|
||||
|
||||
@ -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.
|
||||
|
||||
`--watch`
|
||||
: watch for data (and time) changes and reload automatically
|
||||
: watch for data and date changes and reload automatically
|
||||
|
||||
`--theme=default|terminal|greenterm`
|
||||
: use this custom display theme
|
||||
|
||||
@ -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.
|
||||
|
||||
`--server`
|
||||
: disable browser-opening and auto-exit-on-idle, and log all requests to stdout
|
||||
`--serve`
|
||||
: serve and log requests, don't browse or auto-exit
|
||||
|
||||
`--host=IPADDR`
|
||||
: listen on this IP address (default: 127.0.0.1)
|
||||
|
||||
`--port=PORT`
|
||||
: set the TCP port to listen on (default: 5000)
|
||||
: listen on this TCP port (default: 5000)
|
||||
|
||||
`--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.
|
||||
|
||||
`--file-url=URL`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user