[#1661] cli: Clarify --rpc-endpoint values
All checks were successful
DCO action / DCO (pull_request) Successful in 45s
Vulncheck / Vulncheck (pull_request) Successful in 1m8s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m37s
Build / Build Components (pull_request) Successful in 1m46s
Tests and linters / Tests with -race (pull_request) Successful in 2m41s
Tests and linters / Staticcheck (pull_request) Successful in 2m55s
Tests and linters / Run gofumpt (pull_request) Successful in 2m58s
Tests and linters / Lint (pull_request) Successful in 3m5s
Tests and linters / Tests (pull_request) Successful in 3m29s
Tests and linters / gopls check (pull_request) Successful in 3m17s
Pre-commit hooks / Pre-commit (push) Successful in 1m25s
Vulncheck / Vulncheck (push) Successful in 1m18s
Build / Build Components (push) Successful in 1m57s
Tests and linters / Lint (push) Successful in 3m1s
Tests and linters / Run gofumpt (push) Successful in 2m54s
Tests and linters / Staticcheck (push) Successful in 3m0s
Tests and linters / Tests (push) Successful in 3m42s
Tests and linters / Tests with -race (push) Successful in 3m46s
Tests and linters / gopls check (push) Successful in 4m15s
OCI image / Build container images (push) Successful in 4m38s

`multiaddr` is not something an average user knows. Personally, I have
never used it in CLI. On the other hand, we need to connect with TLS quite often,
so it needs to be mentioned in help.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2025-03-04 10:16:20 +03:00
parent 4685afb1dc
commit 5ba0e2918e
Signed by: fyrchik
SSH key fingerprint: SHA256:m/TTwCzjnRkXgnzEx9X92ccxy1CcVeinOgDb3NPWWmg

View file

@ -28,7 +28,7 @@ const (
RPC = "rpc-endpoint"
RPCShorthand = "r"
RPCDefault = ""
RPCUsage = "Remote node address (as 'multiaddr' or '<host>:<port>')"
RPCUsage = "Remote node address ('<host>:<port>' or 'grpcs://<host>:<port>')"
Timeout = "timeout"
TimeoutShorthand = "t"