'Check for some required options and set some defaults.'

def postOptions(self):

    self['dry-run'] = bool(self['dry-run'])
    if (self['config-file'] is None):
        raise UsageError('Missing    --config-file    option.')
    self.setdefault('node-name-prefixes', list(DEFAULT_NODE_NAME_PREFIXES))
