Message112838
This patch fixes it with a fourth approach: if unrecognized arguments are found during subparser parsing, information about them is inserted into the namespace (under "._unrecognized"), and the decision about whether to exit is deferred. When top-level parsing is finished, those recorded unrecognized args are added to whatever was found by the main parser.
It passes the tests I submitted yesterday. |
|
Date |
User |
Action |
Args |
2010-08-04 17:45:44 | catherine | set | recipients:
+ catherine, bethard |
2010-08-04 17:45:44 | catherine | set | messageid: <1280943944.34.0.134633220601.issue9340@psf.upfronthosting.co.za> |
2010-08-04 17:45:41 | catherine | link | issue9340 messages |
2010-08-04 17:45:41 | catherine | create | |
|