def METHOD_NAME(self):
    new_aliases = {}
    for alias in self.opts.alias:
        alias = alias.split('=', 1)
        cmd = alias[0].strip()
        if len(cmd.split()) != 1:
            logger.warning(_("Invalid alias key: %s"), cmd)
            continue
        if cmd.startswith('-'):
            logger.warning(_("Invalid alias key: %s"), cmd)
            continue
        if len(alias) == 1:
            logger.warning(_("Alias argument has no value: %s"), cmd)
            continue
        new_aliases[cmd] = alias[1].split()
    return new_aliases