From 68ce57aa757de9d8b3082cc97bf9aa8bf410bf3a Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Tue, 1 Mar 2022 13:50:18 +0100 Subject: [PATCH] Fixed command line parameter. --- cmd/mtwebmapper/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mtwebmapper/main.go b/cmd/mtwebmapper/main.go index 0465733..e80b5a8 100644 --- a/cmd/mtwebmapper/main.go +++ b/cmd/mtwebmapper/main.go @@ -76,7 +76,7 @@ func main() { flag.StringVar(&playersFIFO, "ps", "", "Path to FIFO file to read active players from (shorthand).") flag.IntVar(&yMin, "ymin", common.MinHeight, "Minimum y in blocks.") flag.IntVar(&yMax, "ymax", common.MaxHeight, "Maximum y in blocks.") - flag.CommandLine.DurationVar(&changeDuration, "change-duration", time.Second, "Duration to aggregate changes. (PG only)") + flag.DurationVar(&changeDuration, "change-duration", time.Second, "Duration to aggregate changes. (PG only)") flag.BoolVar(&version, "version", false, "Print version and exit.") flag.Parse()