def parse_sbatch_defaults(parsed):
    """Unpack SBATCH_DEFAULTS."""
    d = parsed.split() if type(parsed) == str else parsed
    args = {k.strip().strip("-"): v.strip() for k, v in [a.split("=") for a in d]}
    return args