Fixed a typo in path to unix-socket.

This commit is contained in:
Alexander Andreev 2022-06-26 14:45:21 +04:00
parent 21b2f24986
commit 3685907891
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -15,7 +15,7 @@ import (
"time" "time"
) )
var listenAddress *string = flag.String("listen", "/var/run/captcha/c.sock", "listen address (ip:port|unix_path)") 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 captchaExpire *time.Duration = flag.Duration("expire", 5*time.Minute, "CAPTCHA expiration in format XX{s,m,h}, e.g. 5m, 300s")
var showVersion *bool = flag.Bool("v", false, "show version") var showVersion *bool = flag.Bool("v", false, "show version")