def features():
    '''
    List currently available BTRFS features.

    CLI Example:

    .. code-block:: bash

        salt '*' btrfs.mkfs_features
    '''
    out = __salt__['cmd.run_all']("mkfs.btrfs -O list-all")
    salt.utils.fsutils._verify_run(out)

    ret = {}
    for line in [re.sub(r"\s+", " ", line) for line in out['stderr'].split("\n") if line in " - "]:
        option, description = line.split(" - ", 1)
        ret[option] = description

    return ret
dataset/ETHPy150Open saltstack/salt/salt/modules/btrfs.py/features/swapped operands of `in`