Skip to content

Commit 4b18cf0

Browse files
committed
Simplified expression
1 parent 24bea8b commit 4b18cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/pkg/pass1/export-netvis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func ExportNetvisMain(d oslink.Data) int {
3434

3535
// Argument processing
3636
args := fs.Args()
37-
if len(args) <= 0 || len(args) > 1 {
37+
if len(args) != 1 {
3838
fs.Usage()
3939
return 1
4040
}

0 commit comments

Comments
 (0)