def METHOD_NAME(self):
    optlist, args = getopt.getopt(sys.argv[1:], 'shl:')
    for key, val in optlist:
        if key == '-s':
            self.silent_mode = True
        elif key == '-l':
            self.target_logfile = val
        elif key == '-h':
            self.help()
    if self.target_logfile is None:
        self.help()