Skip to content

Commit

Permalink
remove duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuro9715 committed May 7, 2021
1 parent f778e85 commit 5e947d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func findTask(i *int, nzargs []nzflag.Value, config *config.Config) (task *confi
i2 := *i
for ; i2 < len(nzargs); i2++ {
arg := nzargs[i2]
if isHelpFlag(nzargs[i2].String()) {
if isHelpFlag(arg.String()) {
fprintTaskHelp(os.Stdout, task)
return nil, 0
}
Expand Down

0 comments on commit 5e947d3

Please sign in to comment.