Skip to content

Commit 2560e2c

Browse files
authored
Merge pull request #6142 from sangaman/externalhosts-desc
docs: clarify --externalhosts usage
2 parents d3faef5 + b5f50c2 commit 2560e2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ type Config struct {
266266
RawRESTListeners []string `long:"restlisten" description:"Add an interface/port/socket to listen for REST connections"`
267267
RawListeners []string `long:"listen" description:"Add an interface/port to listen for peer connections"`
268268
RawExternalIPs []string `long:"externalip" description:"Add an ip:port to the list of local addresses we claim to listen on to peers. If a port is not specified, the default (9735) will be used regardless of other parameters"`
269-
ExternalHosts []string `long:"externalhosts" description:"A set of hosts that should be periodically resolved to announce IPs for"`
269+
ExternalHosts []string `long:"externalhosts" description:"Add a hostname:port that should be periodically resolved to announce IPs for. If a port is not specified, the default (9735) will be used."`
270270
RPCListeners []net.Addr
271271
RESTListeners []net.Addr
272272
RestCORS []string `long:"restcors" description:"Add an ip:port/hostname to allow cross origin access from. To allow all origins, set as \"*\"."`

0 commit comments

Comments
 (0)