From e520526e0892449c8c21ab7a125b35bfa35935ff Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Fri, 19 May 2023 21:42:33 +0400 Subject: [PATCH] Found and fixed a type in guestbook page flag in main.go. --- cmd/dwelling-home/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dwelling-home/main.go b/cmd/dwelling-home/main.go index f30350a..984c7ce 100644 --- a/cmd/dwelling-home/main.go +++ b/cmd/dwelling-home/main.go @@ -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() {