Add example to usage
This commit is contained in:
parent
14873c248a
commit
4804086fdf
@ -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 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user