This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.j3
Recipients nir_barel@bmc.com, paul.j3
Date 2018-07-23.15:52:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1532361135.3.0.56676864532.issue34046@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2018-07-23 15:52:15paul.j3setrecipients: + paul.j3, nir_barel@bmc.com
2018-07-23 15:52:15paul.j3setmessageid: <1532361135.3.0.56676864532.issue34046@psf.upfronthosting.co.za>
2018-07-23 15:52:15paul.j3linkissue34046 messages
2018-07-23 15:52:15paul.j3create