Found and fixed a type in guestbook page flag in main.go.
This commit is contained in:
parent
5efb179840
commit
e520526e08
@ -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 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 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 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")
|
var databasesPath *string = flag.String("db", "/var/lib/dwelling-home", "path to a directory where to store DB files")
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user