This matches IOS behaviour and allows getting rid of command handlers which merely set the return value to EINVAL.