1
0

Found and fixed a type in guestbook page flag in main.go.

This commit is contained in:
Alexander Andreev 2023-05-19 21:42:33 +04:00
parent 5efb179840
commit e520526e08
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -23,7 +23,7 @@ var showVersion *bool = flag.Bool("v", false, "show version")
var listenAddress *string = flag.String("l", "/var/run/dwelling-home/sock", "listen address (ip:port|unix_path)")
var captchaExpiry *time.Duration = flag.Duration("ce", 10*time.Minute, "CAPTCHA expiry (e.g. 5m, 60s)")
var guestbookOwner *string = flag.String("gbo", "Admin", "name of a guestbook owner")
var guestbookPageSize *int64 = flag.Int64("gbo", 60, "size of a guestbook page")
var guestbookPageSize *int64 = flag.Int64("gbp", 60, "size of a guestbook page")
var databasesPath *string = flag.String("db", "/var/lib/dwelling-home", "path to a directory where to store DB files")
func main() {