diff --git a/main.go b/main.go index 6cef24f..3099bfe 100644 --- a/main.go +++ b/main.go @@ -23,7 +23,7 @@ type CountLiveAnchors struct { } func getArgsStartTime() time.Time { - date := flag.Arg(0) + date := flag.Arg(1) if date == "" { panic("please input date eg. '2020-11-30 16:29:17'") }