def _match_long_opt(self, opt):
# This disable shortcuts so that '--ignorecount' is not parsed '--ignore' which conflics with "vw --ignore"
if opt in self._long_opt:
return opt
raise optparse.BadOptionError(opt)
文章目录