Change the logic and behaviour surrounding '--api' and 'no-deprecated'