Format options

def _mod_priv_opts(object_type, privileges):
    '''
    Format options
    '''
    object_type = object_type.lower()
    privileges = '' if privileges is None else privileges
    _privs = re.split(r'\s?,\s?', privileges.upper())

    return object_type, privileges, _privs