Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some cli flag descriptions #3933

Merged
merged 2 commits into from
Apr 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down