code: def add_arguments(argname, type, default, help, argparser, **kwargs):
      """Add argparse's argument.
  
      Usage:
  
      .. code-block:: python
  
          parser = argparse.ArgumentParser()
          add_argument("name", str, "Jonh", "User name.", parser)
          args = parser.parse_args()
      """
      type = distutils.util.strtobool if type == bool else type
      argparser.add_argument(
          "--" + argname,
          default=default,
          type=type,
          help=help + " Default: %(default)s.",
          **kwargs,
      )
  
file_path: AdvBox/example/utility.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import distutils.util
  import numpy
  from PIL import Image
  import os
  from paddle.fluid import core
label_desc: Use image node_id 2 for calling a global function with example usage: add_arguments(argname, type, default, help, argparser) without return types