Fixed command line parameter.

This commit is contained in:
Sascha L. Teichmann 2022-03-01 13:50:18 +01:00
parent 6fb338dbb8
commit 68ce57aa75

View File

@ -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()