Option --optimize-yul is only valid in compiler and assembler modes.