From b5f50c2522f042e71412b411262086325605f19f Mon Sep 17 00:00:00 2001 From: Daniel McNally Date: Thu, 6 Jan 2022 10:41:07 -0500 Subject: [PATCH] docs: clarify --externalhosts usage This clarifies the usage of the `externalhosts` option and brings its documentation in line with similar options such as `externalip`. Related issue: #6141 [skip ci] --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 6666942ce..509664add 100644 --- a/config.go +++ b/config.go @@ -256,7 +256,7 @@ type Config struct { RawRESTListeners []string `long:"restlisten" description:"Add an interface/port/socket to listen for REST connections"` RawListeners []string `long:"listen" description:"Add an interface/port to listen for peer connections"` 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"` - ExternalHosts []string `long:"externalhosts" description:"A set of hosts that should be periodically resolved to announce IPs for"` + 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."` RPCListeners []net.Addr RESTListeners []net.Addr RestCORS []string `long:"restcors" description:"Add an ip:port/hostname to allow cross origin access from. To allow all origins, set as \"*\"."`