- struct option options[] = {
- { "accumulate", no_argument, 0, 'a' },
- { 0, 0, 0, 0}
+ notmuch_opt_desc_t options[] = {
+ { NOTMUCH_OPT_POSITION, &input_file_name, 0, 0, 0 },
+ { NOTMUCH_OPT_BOOLEAN, &accumulate, "accumulate", 'a', 0 },
+ { 0, 0, 0, 0, 0 }