Catching errors when cmdOptions are invalid (part #1)