docs: def init_parser():
      """Initialize option parser."""
  
      usage = "Usage: %(prog)s <option(s)> <file(s)>"
      description = " Display information from object <file(s)>.\n"
      description += " At least one of the following switches must be given:"
  
      #
      # Create an argument parser and an exclusive group.
      #
      parser = ArgumentParser(
          usage=usage, description=description, add_help=False)
  
      group = parser.add_mutually_exclusive_group()
  
      #
      # Add objdump parameters.
      #
      group.add_argument("-a", "--archive-headers",
          action=DumpArchieveHeadersAction,
          type=FileType("r"), nargs="+",
          help="Display archive header information")
  
      group.add_argument("-f", "--file-headers",
          action=DumpFileHeadersAction,
          type=FileType("r"), nargs="+",
          help="Display the contents of the overall file header")
  
      #group.add_argument("-p", "--private-headers",    action="store", type=FileType("r"), nargs="+", help="Display object format specific file header contents")
      #group.add_argument("-P", "--private=OPT,OPT...", action="store", type=FileType("r"), nargs="+", help="Display object format specific contents")
  
      group.add_argument("-h", "--section-headers",
          action=DumpSectionHeadersAction,
          type=FileType("r"), nargs="+",
          help="Display the contents of the section headers")
  
      #group.add_argument("-x", "--all-headers",        action="store", type=FileType("r"), nargs="+", help="Display the contents of all headers")
  
      group.add_argument("-d", "--disassemble",
          action=DisassembleSectionAction,
          type=FileType("r"), nargs="+",
          help="Display assembler contents of executable sections")
  
  
      group.add_argument("-D", "--disassemble-all",
          action=DisassembleSectionsAction,
          type=FileType("r"), nargs="+",
          help="Display assembler contents of executable sections")
  
      #group.add_argument("-S", "--source",             action="store", type=FileType("r"), nargs="+", help="Intermix source code with disassembly")
  
      group.add_argument("-s", "--full-contents",
          action=DumpSectionContentAction,
          type=FileType("r"), nargs="+",
          help="Display the full contents of all sections requested")
  
      #group.add_argument("-g", "--debugging",          action="store", type=FileType("r"), nargs="+", help="Display debug information in object file")
      #group.add_argument("-e", "--debugging-tags",     action="store", type=FileType("r"), nargs="+", help="Display debug information using ctags style")
      #group.add_argument("-G", "--stabs",              action="store", type=FileType("r"), nargs="+", help="Display (in raw form) any STABS info in the file")
  
      #-W[lLiaprmfFsoRt] or")
      #--dwarf[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,")
      #      =frames-interp,=str,=loc,=Ranges,=pubtypes,")
      #      =gdb_index,=trace_info,=trace_abbrev,=trace_aranges]")
      #                       Display DWARF info in the file")
  
      group.add_argument("-t", "--syms",
          action=DumpFileSymbols,
          type=FileType("r"), nargs="+",
          help="Display the contents of the symbol table(s)")
  
      #-T, --dynamic-syms       Display the contents of the dynamic symbol table")
      #-r, --reloc              Display the relocation entries in the file")
      #-R, --dynamic-reloc      Display the dynamic relocation entries in the file")
  
      group.add_argument("-v", "--version", action="version",
          version="%%(prog)s %s (%s)" % (__version__, __description__),
          help="Display this program's version number")
  
      group.add_argument("-i", "--info",
          action=ListFormatAndArchitecturesInformationAction,
          nargs=REMAINDER,
          help="List object formats and architectures supported")
  
      group.add_argument("-H", "--help", action="store_true", default=False,
          help="Display this information")
  
      return parser