Implemented the option with optional argument case