Skip to content

Commit

Permalink
clearer code
Browse files Browse the repository at this point in the history
  • Loading branch information
sledigabel committed Jul 18, 2023
1 parent 02edd97 commit cd25d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/foreach/foreach.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ MAIN:
helpFlag = true
default:
// we've parsed everything that could be parsed; this is now the command
if len(args) > 1 {
if len(args[i:]) > 0 {
strippedArgs = args[i:]
}
break MAIN
Expand Down

0 comments on commit cd25d87

Please sign in to comment.