'Dumps the list of user options.'

def dump_dirs(self, msg):

    if (not DEBUG):
        return
    from distutils.fancy_getopt import longopt_xlate
    log.debug((msg + ':'))
    for opt in self.user_options:
        opt_name = opt[0]
        if (opt_name[(-1)] == '='):
            opt_name = opt_name[0:(-1)]
        if (opt_name in self.negative_opt):
            opt_name = self.negative_opt[opt_name]
            opt_name = opt_name.translate(longopt_xlate)
            val = (not getattr(self, opt_name))
        else:
            opt_name = opt_name.translate(longopt_xlate)
            val = getattr(self, opt_name)
        log.debug('        %s:    %s', opt_name, val)
