diff --git a/examples/go-migrations/main.go b/examples/go-migrations/main.go index 7fb548b0d..ae1bc4280 100644 --- a/examples/go-migrations/main.go +++ b/examples/go-migrations/main.go @@ -20,7 +20,7 @@ func main() { flags.Parse(os.Args[1:]) args := flags.Args() - if len(args) < 2 { + if len(args) < 3 { flags.Usage() return }