Update main.go

Added option `-interval=number`