go-ethereum/docs/cli/peers_add.md
Jerry a37af35c36 Add default values to CLI helper and docs
This commit adds default values to CLI helper and docs. When the default value of a string flag, slice string flag, or map string flag is empty, its helper message won't show any default value.
2022-12-13 23:23:10 -08:00

9 lines
No EOL
241 B
Markdown

# Peers add
The ```peers add <enode>``` command joins the local client to another remote peer.
## Options
- ```address```: Address of the grpc endpoint (default: 127.0.0.1:3131)
- ```trusted```: Add the peer as a trusted (default: false)