I suppose it's never too late to get to know #Python's `argparse` module a littl...
Cyril Brulebois @CyrilBrulebois@mamot.fr
I suppose it's never too late to get to know #Python's `argparse` module a little bit better…
> The parse_args() method by default allows long options to be abbreviated to a prefix, if the abbreviation is unambiguous (the prefix matches a unique option): […]
And indeed:
> allow_abbrev - Allows long options to be abbreviated if the abbreviation is unambiguous (default: True)
Maybe that's something new? YMMV…
> Changed in version 3.5: allow_abbrev parameter was added.