text: import shlex
  from argparse import ArgumentParser, RawTextHelpFormatter
  
  delete_parser = ArgumentParser(
      formatter_class=RawTextHelpFormatter,
      prog='delete',
      description='Delete a server object.',
      epilog='')
  delete_parser.add_argument('objectclass', help='Type of the object to delete (Java Type).')
  delete_parser.add_argument('oid', help='Object ID.')
  
  
  class DeleteClientPrompt:
      def do_rm(self, inp):
          self.do_delete(inp)
  
      def do_del(self, inp):
          self.do_delete(inp)
  
      def do_delete(self, inp):
          try:
              delete_args = shlex.split(inp)
              ns = delete_parser.parse_args(delete_args)
              self.client.delete(ns.objectclass, ns.oid)
  
          except AttributeError as e:
              print('Error:', e)
          except SystemExit:
              pass
  
      def help_delete(self):
          delete_parser.print_help()
  
      def help_rm(self):
          delete_parser.print_help()
  
      def help_del(self):
          delete_parser.print_help()
  