paul j3 <ajipa...@gmail.com> added the comment:

This issue was raised in https://bugs.python.org/issue12713, 

argparse: allow abbreviation of sub commands by users

A patch was implemented, and then reverted when it was found to be buggy.

Subcommands are not parsed the same as long options.  Subcommands are actually 
'choices' of a positional argument.  Trying to allow abbreviations of 
subcommands allowed them in all 'choices', resulting in backward compatibility 
problems.

I recommend using the suparser alias mechanism instead.

(I think this issue should be closed).

----------
nosy: +paul.j3

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33343>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to