do-release-upgrade relies on update-manager's MetaReleaseCore to parse the /etc/update-manager/release-upgrades configuration file so any changes would likely require modifying update-manager to return information about what prompt is set to and for do-release-upgrade to return a more informative error message.
do-release-upgrade relies on update-manager's MetaReleaseCore to parse the /etc/update- manager/ release- upgrades configuration file so any changes would likely require modifying update-manager to return information about what prompt is set to and for do-release-upgrade to return a more informative error message.