def add_to(self, parent, config={}, argv=[]):
        attrs = self.attrs.copy()

        if 'config_key' in attrs:
            config_key = attrs.pop('config_key')

            if config_key in config:
                attrs['default'] = config[config_key]

        if 'deprecated_in' in attrs:
            attrs['help'] += '\n[Deprecated since %s]' % attrs['deprecated_in']

        # These are used for other purposes, and are not supported by
        # argparse.
        for attr in ('added_in', 'deprecated_in', 'extended_help',
                     'versions_changed'):
            attrs.pop(attr, None)

        parent.add_argument(*self.opts, **attrs)
best_prefix_base: 2 Bytes (as a Bit()) round up into a Byte()
dataset/ETHPy150Open reviewboard/rbtools/rbtools/commands/__init__.py/Option.add_to--crossover with--dataset/ETHPy150Open tbielawa/bitmath/tests/test_best_prefix_BASE.py/TestBestPrefixBASE.test_bit_round_up