Switch option parsing for goals to the new parser.

Review Request #1309 — Created Nov. 7, 2014 and submitted

benjyw
pants
df0f048...
pants-reviews
jsirois, patricklaw, zundel

Switch option parsing for goals to the new parser.

Relies on https://rbcommons.com/s/twitter/r/1308/.

CI passed when run with https://rbcommons.com/s/twitter/r/1308/.

BE
PA
  1. Exciting!

  2. 
      
ZU
  1. 
      
  2. This functionality has reverted:

    $ touch compile/BUILD
    $ PANTS_DEV=1 ./pants goal compile compile

    WARNING:pants.commands.goal_runner: Command-line argument "compile" is ambiguous, and was assumed to be a goal. If this is incorrect, disambiguate it with the "--" argument to separate goals from targets.

    I think it would suffice to say 'disambiguate it with "./compile"

  3. 
      
BE
ZU
  1. Ship It!

  2. 
      
BE
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted as efdb32a6d9a8aeea5f59100f1659583507f643b2.
Loading...