[3.13] gh-58573: Fix conflicts between abbreviated long options in the parent parser and subparsers in argparse (GH-124631) (GH-124760)
Check for ambiguous options if the option is consumed, not when it is parsed. (cherry picked from commit 3f27153e077d7e9448e2f081275931968b40cc74)
S
Serhiy Storchaka committed
6925e5b5c778d0c7deab58c62545b69b4a3d3844
Parent: 0a04677
Committed by GitHub <noreply@github.com>
on 10/7/2024, 10:55:27 PM