parameters: ()
return_statement: return parser
docstring: Initialize the option parser and return it.
docstring_summary: Initialize the option parser and return it.
docstring_tokens: Initialize the option parser and return it .
function: def pinit():
      """
      Initialize the option parser and return it.
      """
  
      usage = "usage: %prog [options] [xml_topology_filename]"
  
      parser = OptionParser(usage)
  
      parser.add_option(
          "-b",
          "--build_root",
          dest="build_root_overwrite",
          type="string",
          help="Overwrite environment variable BUILD_ROOT",
          default=None,
      )
  
      parser.add_option(
          "-v",
          "--verbose",
          dest="verbose_flag",
          help="Enable verbose mode showing more runtime detail (def: False)",
          action="store_true",
          default=False,
      )
  
      parser.add_option(
          "-d",
          "--dependency-file",
          dest="dependency_file",
          type="string",
          help="Generate dependency file for make",
          default=None,
      )
  
      return parser
function_tokens: def pinit ( ) : usage = "usage: %prog [options] [xml_topology_filename]" parser = OptionParser ( usage ) parser . add_option ( "-b" , "--build_root" , dest = "build_root_overwrite" , type = "string" , help = "Overwrite environment variable BUILD_ROOT" , default = None , ) parser . add_option ( "-v" , "--verbose" , dest = "verbose_flag" , help = "Enable verbose mode showing more runtime detail (def: False)" , action = "store_true" , default = False , ) parser . add_option ( "-d" , "--dependency-file" , dest = "dependency_file" , type = "string" , help = "Generate dependency file for make" , default = None , ) return parser