Skip to content

Commit

Permalink
imternal/shaderlister: enable to omit command arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Feb 9, 2025
1 parent aaabea0 commit c8f37d1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/shaderlister/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ func xmain() error {
os.Exit(2)
}
flag.Parse()
if len(flag.Args()) < 1 {
flag.Usage()
}

pkgs, err := packages.Load(&packages.Config{
Mode: packages.NeedName | packages.NeedImports | packages.NeedDeps | packages.NeedTypes | packages.NeedSyntax | packages.NeedTypesInfo,
Expand Down

0 comments on commit c8f37d1

Please sign in to comment.