Centralize invertible arg logic.

Review Request #1681 - Created Jan. 28, 2015 and submitted

Information
John Sirois
pants
jsirois/options/bool_config_dry
1004
deefc2f...
Reviewers
pants-reviews
nhoward_tw, zundel
This is a follow-up to a siggestion on
https://rbcommons.com/s/twitter/r/1680/ to re-use Parser.Flag's
identification of invertible (and thus bool) options.

 src/python/pants/option/parser.py | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

```console
PANTS_DEV=1 ./pants test tests/python/pants_test/option
```

CI went green here: https://travis-ci.org/pantsbuild/pants/builds/48707267

Issues

  • 0
  • 0
  • 1
  • 1
Description From Last Updated
John Sirois
Nick Howard (Twitter)
John Sirois
John Sirois
John Sirois
John Sirois
Eric Ayers
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...