[issue9334] argparse: add a full fledged parser as a subparser

2018-12-12 Thread Eric V. Smith
Eric V. Smith added the comment: Why the title change? The original problem still exists, and I don't see how it's related to subparsers. -- ___ Python tracker ___ ___

[issue9334] argparse: add a full fledged parser as a subparser

2018-12-12 Thread Victor Porton
Victor Porton added the comment: Subparsers are added like: subparsers.add_parser('checkout', aliases=['co']) But I want to use a parser BOTH as a subparser and as a full-fledged parser. It is because my program should understand both of the following command line options: boiler chain -t