Skip to content

Commit

Permalink
Remove unneeded code in choice()
Browse files Browse the repository at this point in the history
  • Loading branch information
andsens committed Aug 17, 2024
1 parent e8f7bbf commit 10220fc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docopt_sh/docopt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,6 @@ choice() {
[[ $testdepth -eq 0 ]] && "node_$best_match_idx"
return 0
fi
# No subtree matched, reset the remaining params
params=("${initial_params[@]}")
return 1
}

Expand Down

0 comments on commit 10220fc

Please sign in to comment.