def enable_squash(input):
    """
    Convert long specific enable strings to 'enabled'

    Takes in a dictionary of parsed output, iterates over the keys and looks
    for key names containing the string "enabled" at the end of the key name.
    Specifically the end of the key name is matched for safety.  Replaces the
    key with simply "enabled", for example an input dictionary::

        {"Path-selection enabled": False}

    becomes::

        {"enabled": False}

    :param input: A dictionary of parsed output
    :return result: A dictionary with keys ending in "enabled" replaced with
                    just "enabled"
    """
    result = {}
    for key, value in input.items():
        if key.endswith('enabled'):
            if 'enabled' in result:
                raise KeyError('Duplicate key exists')
            result['enabled'] = value
        else:
            result[key] = value

    return result