Deprecate action='store_true'/'store_false' options.

Review Request #3667 — Created April 8, 2016 and submitted

benjyw
pants
pants-reviews
mateor, stuhood, zundel
Deprecate action='store_true'/'store_false' options.

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

Manually tested that deprecation message appears when it's supposed to.

  1. Ship It!
  2. 
      
  1. 
      
  2. src/python/pants/option/parser.py (Diff revision 1)
     
     

    Maybe add a TODO here to remove the munging after the deprecation cycle passes, similar to what you did for list_option.

    1. Good idea. Will do.

  3. 
      
  1. Ship It!
  2. 
      
  1. Ship It!
  2. 
      
Review request changed

Status: Closed (submitted)

Change Summary:

bc5de83ec27060997dd84fb8c281020b81f4fd54

Loading...