'Setup the parser common options'

def __init__(self):

    self.afe = None
    self.failed = {}
    self.data = {}
    self.debug = False
    self.parse_delim = '|'
    self.kill_on_failure = False
    self.web_server = ''
    self.verbose = False
    self.username = ''
    self.topic_parse_info = item_parse_info(attribute_name='not_used')
    self.parser = optparse.OptionParser(self._get_usage())
    self.parser.add_option('-g', '--debug', help='Print    debugging    information', action='store_true', default=False)
    self.parser.add_option('--kill-on-failure', help='Stop    at    the    first    failure', action='store_true', default=False)
    self.parser.add_option('--parse', help='Print    the    output    using    |    separated    key=value    fields', action='store_true', default=False)
    self.parser.add_option('--parse-delim', help='Delimiter    to    use    to    separate    the    key=value    fields', default='|')
    self.parser.add_option('-v', '--verbose', action='store_true', default=False)
    self.parser.add_option('-w', '--web', help='Specify    the    autotest    server    to    talk    to', action='store', type='string', dest='web_server', default=None)
    self.parser.add_option('-Q', '--username', help='Specify    the    username    tologin    with', action='store', type='string', dest='username', default=None)
