Skip to content

Commit

Permalink
stash
Browse files Browse the repository at this point in the history
  • Loading branch information
dearchap committed Oct 24, 2024
1 parent 64dd814 commit 6956261
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions help.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,6 @@ func checkShellCompleteFlag(c *Command, arguments []string) (bool, []string) {
// because after "--" only positional arguments are accepted.
// https://unix.stackexchange.com/a/11382
if arg == "--" {
if lastArg == "--generate-shell-completion" {
return false, arguments[:pos-2]
}
return false, arguments
}
}
Expand Down

0 comments on commit 6956261

Please sign in to comment.