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

Do you understand why this is happening?

Subparsers is, in effect, a positional argument with 'choices' - the choices 
being the parsers (and their aliases).

But '-dr' looks like an flagged (optionals) argument.  Since you didn't define 
such an argument, it gets put in the 'unrecognized' category.

So, no, you can't used a flag-like name for a parser.  Why are you trying to do 
this?

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

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

Reply via email to