Skip to content

Commit

Permalink
fix(launcher): Fix args check
Browse files Browse the repository at this point in the history
  • Loading branch information
cedws committed Nov 17, 2024
1 parent cba9080 commit ef51ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func Execute() {
os.Exit(1)
}

if len(os.Args) != 1 {
if len(flag.Args()) > 0 {
flag.Usage()
os.Exit(1)
}
Expand Down

0 comments on commit ef51ef8

Please sign in to comment.