mirror of
https://github.com/pressly/goose.git
synced 2025-05-31 11:42:04 +00:00
Fix example index out of range error (#368)
This commit is contained in:
parent
4ec294d599
commit
bfd4286c0f
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user