mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-10 18:13:18 +01:00
imternal/shaderlister: enable to omit command arguments
This commit is contained in:
parent
aaabea02cb
commit
c8f37d1772
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user