Adds an error if no options are selected in generate part.