Skip to content

Commit

Permalink
Check remaining args in tools/parse (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
apstndb authored Oct 28, 2024
1 parent f9eeaa3 commit 560e46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/parse/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func main() {
}

flag.Parse()
if flag.NArg() < 1 {
if flag.NArg() != 1 {
flag.Usage()
os.Exit(1)
return
Expand Down

0 comments on commit 560e46c

Please sign in to comment.