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 deckar01
Recipients bethard, deckar01, docs@python, paul.j3
Date 2016-03-23.23:06:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458774410.78.0.628119248329.issue22401@psf.upfronthosting.co.za>
In-reply-to
Content
This behavior is preventing me from using more than one parent parser.

My use case is a convenience subcommand that performs two existing subcommands, therefore logically its subparser is required to support the arguments of both subparsers.

The only conflict is the "help" argument, which is annoying, but setting the conflict handler to "resolve" on the child subparser should just ignore the first parent's "help" argument in favor of the second parent.

Instead the "resolve" conflict handler breaks the first parent and causes it to output the help info no matter what arguments are given to it.

I am forced to only include one parent and manually duplicate the arguments for any additional parents.
History
Date User Action Args
2016-03-23 23:06:50deckar01setrecipients: + deckar01, bethard, docs@python, paul.j3
2016-03-23 23:06:50deckar01setmessageid: <1458774410.78.0.628119248329.issue22401@psf.upfronthosting.co.za>
2016-03-23 23:06:50deckar01linkissue22401 messages
2016-03-23 23:06:50deckar01create