Create the argparse.ArgParser instance only on demand.

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

benjyw
pants
01970db...
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

NH
  1. Ship It!
  2. 
      
BE
  1. Thanks Nick! Submitted as c25d203200b97e54c3a590b107422303fcac93db.

  2. 
      
BE
Review request changed

Status: Closed (submitted)

Change Summary:

c25d203200b97e54c3a590b107422303fcac93db

Loading...