Fix some cli flag descriptions (#3933)

* Fix some cli flag descriptions

* add node about verbosity
This commit is contained in:
Chase Wright 2022-04-21 21:26:59 -05:00 committed by GitHub
parent a8f20f01c4
commit dc5125eec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -313,7 +313,7 @@ var (
}
HTTPEnabledFlag = cli.BoolFlag{
Name: "http",
Usage: "Enable the HTTP-RPC server",
Usage: "Enabled by default. Use --http=false to disable the HTTP-RPC server",
}
HTTPListenAddrFlag = cli.StringFlag{
Name: "http.addr",
@ -344,11 +344,11 @@ var (
HttpCompressionFlag = cli.BoolFlag{
Name: "http.compression",
Usage: "Comma separated list of virtual hostnames from which to accept requests (server enforced). Accepts '*' wildcard.",
Usage: "Enable compression over HTTP-RPC",
}
WsCompressionFlag = cli.BoolFlag{
Name: "ws.compression",
Usage: "Comma separated list of virtual hostnames from which to accept requests (server enforced). Accepts '*' wildcard.",
Usage: "Enable compression over WebSocket",
}
HTTPCORSDomainFlag = cli.StringFlag{
Name: "http.corsdomain",
@ -635,7 +635,7 @@ var (
TorrentVerbosityFlag = cli.StringFlag{
Name: "torrent.verbosity",
Value: lg.Warning.LogString(),
Usage: "DEBUG | INFO | WARN | ERROR",
Usage: "DEBUG | INFO | WARN | ERROR (must set --verbosity to equal or higher level)",
}
TorrentDownloadRateFlag = cli.StringFlag{
Name: "torrent.download.rate",
@ -645,7 +645,7 @@ var (
TorrentUploadRateFlag = cli.StringFlag{
Name: "torrent.upload.rate",
Value: "4mb",
Usage: "byt,es per second, example: 32mb",
Usage: "bytes per second, example: 32mb",
}
TorrentPortFlag = cli.IntFlag{
Name: "torrent.port",