Add example to usage

This commit is contained in:
Louis Taylor 2018-07-05 14:37:32 +01:00
parent 14873c248a
commit 4804086fdf
No known key found for this signature in database
GPG Key ID: 8E81A6DAE13E7098

View File

@ -126,7 +126,7 @@ func (s *ControllerOptions) AddFlags(fs *pflag.FlagSet) {
"validation that do not explicitly state a dns provider.") "validation that do not explicitly state a dns provider.")
fs.StringSliceVar(&s.DNS01Nameservers, "dns01-self-check-nameservers", []string{}, ""+ fs.StringSliceVar(&s.DNS01Nameservers, "dns01-self-check-nameservers", []string{}, ""+
"A list of comma seperated DNS server endpoints used for DNS01 check requests. "+ "A list of comma seperated DNS server endpoints used for DNS01 check requests. "+
"") "This should be a list containing IP address and port, for example: 8.8.8.8:53,8.8.4.4:53")
} }
func (o *ControllerOptions) Validate() error { func (o *ControllerOptions) Validate() error {