CLI not passing right option