diff --git a/cmd/justcaptchad/main.go b/cmd/justcaptchad/main.go index d9fed98..fbb8f0a 100644 --- a/cmd/justcaptchad/main.go +++ b/cmd/justcaptchad/main.go @@ -16,7 +16,7 @@ import ( ) var listenAddress *string = flag.String("listen", "/var/run/justcaptcha/c.sock", "listen address (ip:port|unix_path)") -var captchaExpire *time.Duration = flag.Duration("expire", 5*time.Minute, "CAPTCHA expiration in format XX{s,m,h}, e.g. 5m, 300s") +var captchaExpiry *time.Duration = flag.Duration("expiry", 5*time.Minute, "CAPTCHA expiry in format XX{s,m,h}, e.g. 5m, 300s") var showVersion *bool = flag.Bool("v", false, "show version") func main() { @@ -28,7 +28,7 @@ func main() { return } - captcha.Init(*captchaExpire) + captcha.Init(*captchaExpiry) hand := handlers.New() srv := server.NewHttpServer()