Fails gracefully when given an invalid flag