

def _apply_no_options(self, no_options):
    'For every `--no-OPTION` in `no_options`, set `args.OPTION` to\n        its default value. This allows for un-setting of options, e.g.,\n        specified in config.\n\n        '
    invalid = []
    for option in no_options:
        if (not option.startswith('--no-')):
            invalid.append(option)
            continue
        inverted = ('--' + option[5:])
        for action in self._actions:
            if (option in action.option_strings):
                setattr(self.args, action.dest, action.default)
                break
        else:
            invalid.append(option)
    if invalid:
        msg = 'unrecognized arguments: %s'
        self.error((msg % ' '.join(invalid)))

dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/httpie/input.py Parser._apply_no_options/VarMisuse@72/158 `inverted`->`option`