def _ParseFlags(argv):
  argparser = argparse.ArgumentParser(
      description='List user profile from Google+ for an Apps Domain User.',
      parents=[auth_helper.ARG_PARSER])
  argparser.add_argument('--user_email', '-u', required=True,
                         help='User email address [REQUIRED].')
  flags = argparser.parse_args(argv)
  logging.basicConfig(level=flags.logging_level,
                      format='%(asctime)s %(levelname)-8s %(message)s',
                      datefmt='%Y%m%d %H:%M:%S')
  return flags
Handle command line flags unique to this script.
dataset/ETHPy150Open google/gfw-toolkit/api_sample/peopletool.py/_ParseFlags