Skip to content

Commit 560e46c

Browse files
authored
Check remaining args in tools/parse (#185)
1 parent f9eeaa3 commit 560e46c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/parse/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func main() {
5151
}
5252

5353
flag.Parse()
54-
if flag.NArg() < 1 {
54+
if flag.NArg() != 1 {
5555
flag.Usage()
5656
os.Exit(1)
5757
return

0 commit comments

Comments
 (0)