- { NOTMUCH_OPT_INT, &int_val, "int", 'i', 0},
- { NOTMUCH_OPT_STRING, &string_val, "string", 's', 0},
- { NOTMUCH_OPT_POSITION, &pos_arg1, 0,0, 0},
- { NOTMUCH_OPT_POSITION, &pos_arg2, 0,0, 0},
- { 0, 0, 0, 0, 0 } };
+ { .opt_flags = &fl_val, .name = "flag", .keywords =
+ (notmuch_keyword_t []){ { "one", 1 << 0},
+ { "two", 1 << 1 },
+ { "three", 1 << 2 },
+ { 0, 0 } } },
+ { .opt_int = &int_val, .name = "int" },
+ { .opt_string = &string_val, .name = "string" },
+ { .opt_position = &pos_arg1 },
+ { .opt_position = &pos_arg2 },
+ { }
+ };