def increment_verbosity(option, opt_str, _, parser):
  verbosity = getattr(parser.values, option.dest, 0)
  setattr(parser.values, option.dest, verbosity + 1)
dataset/ETHPy150Open pantsbuild/pex/pex/bin/pex.py/increment_verbosity/original