Message156272
Assuming following:
1. optional argument, say "--foo", in a subparser;
2. at least two different optional arguments in the main parser prefixed with "--foo", say "--foo1" and "--foo2";
parsing fails with "error: ambiguous option: --foo could match --foo1, --foo2".
It seems like argument abbreviation mechanism described at http://docs.python.org/library/argparse.html#argument-abbreviations is not working properly when in use with subparsers... |
|
Date |
User |
Action |
Args |
2012-03-18 20:28:00 | jakub | set | recipients:
+ jakub, bethard |
2012-03-18 20:28:00 | jakub | set | messageid: <1332102480.28.0.401837291603.issue14365@psf.upfronthosting.co.za> |
2012-03-18 20:27:59 | jakub | link | issue14365 messages |
2012-03-18 20:27:59 | jakub | create | |
|