Added check to limited --flag to only option else make the flavour `invalid` and set `$type` to false to it throws an error