The Python Oracle

argparse not handling abbreviations in subparser properly

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Cosmic Puzzle

--

Chapters
00:00 Question
03:32 Accepted answer (Score 3)
04:55 Answer 2 (Score 0)
05:48 Thank you

--

Full question
https://stackoverflow.com/questions/4722...

Accepted answer links:
[Issue 12713: allow abbreviation of sub commands by users]: https://bugs.python.org/issue12713
[Issue 14910: argparse: disable abbreviation]: https://bugs.python.org/issue14910

Answer 2 links:
https://docs.python.org/3/library/argpar...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #argparse #casesensitive #caseinsensitive #subparsers

#avk47