'Inject parser options.
See `~.IPlugin.inject_parser_options` for docs.'

@classmethod
def inject_parser_options(cls, parser, name):

    def add(arg_name_no_prefix, *args, **kwargs):
        return parser.add_argument('--{0}{1}'.format(option_namespace(name), arg_name_no_prefix), *args, **kwargs)
    return cls.add_parser_arguments(add)
