This commit is contained in:
Zhi Wang 2022-01-18 06:44:02 -05:00
parent 0c5915677e
commit 425235aa1f

View File

@ -26,7 +26,8 @@ func main() {
left := flag.Args() left := flag.Args()
if len(left) != 1 { if len(left) != 1 {
log.Fatalln("Usage: replay -w/wait time <recordfile>") fmt.Println("Usage: replay -w/wait time <recordfile>")
return
} }
fp, err := os.Open(left[0]) fp, err := os.Open(left[0])