Create the argparse.ArgParser instance only on demand.

Review Request #3056 - Created Oct. 29, 2015 and submitted

Information
Benjy Weinberger
pants
01970db...
Reviewers
pants-reviews
nhoward_tw
Its constructor is surprisingly heavyweight.

Also fixes an issue with detecting shadowing of an alternate
name of a multi-named option, and adds some approprate tests.

CI passes: https://travis-ci.org/pantsbuild/pants/builds/88227291

Nick Howard (Twitter)
Benjy Weinberger
Benjy Weinberger
Review request changed

Status: Closed (submitted)

Change Summary:

c25d203200b97e54c3a590b107422303fcac93db

Loading...