- if (try->output_var == NULL)
- INTERNAL_ERROR ("output pointer NULL for option %s", try->name);
-
- switch (try->opt_type) {
- case NOTMUCH_OPT_KEYWORD:
- return _process_keyword_arg (try, next, value);
- case NOTMUCH_OPT_BOOLEAN:
- return _process_boolean_arg (try, next, value);
- case NOTMUCH_OPT_INT:
- return _process_int_arg (try, next, value);
- case NOTMUCH_OPT_STRING:
- return _process_string_arg (try, next, value);
- case NOTMUCH_OPT_POSITION:
- case NOTMUCH_OPT_END:
- default:
- INTERNAL_ERROR ("unknown or unhandled option type %d", try->opt_type);
- /*UNREACHED*/