rescue optparse exception.