This should be ``option_parser.error`` instead of ``raise ValueError``.