1
0
mirror of https://github.com/go-acme/lego.git synced 2025-07-02 05:54:28 +02:00

Add dns-timeout support.

This commit is contained in:
zealic
2016-05-25 11:22:09 +08:00
parent b119bc45fb
commit 88932f9167
3 changed files with 14 additions and 2 deletions

4
cli.go
View File

@ -150,6 +150,10 @@ func main() {
Name: "http-timeout",
Usage: "Set the HTTP timeout value to a specific value in seconds. The default is 10 seconds.",
},
cli.IntFlag{
Name: "dns-timeout",
Usage: "Set the DNS timeout value to a specific value in seconds. The default is 10 seconds.",
},
}
err = app.Run(os.Args)