Fix return codes when displaying version, listing power supplies and icon types