@classmethod
def get_default(cls, opt):
    """Return the default for an option."""
    try:
        return cls._OPTS[opt].default
    except KeyError:
        raise ValueError('unknown option name %r' % (opt,))
