- { .opt_keyword = &kw_val, .name = "keyword", .keywords =
- (notmuch_keyword_t []){ { "one", 1 },
- { "two", 2 },
- { 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 },
+ { .opt_bool = &bool_val, .name = "boolean", .present = &bool_set },
+ { .opt_keyword = &kw_val, .name = "keyword", .present = &kw_set, .keywords =
+ (notmuch_keyword_t []){ { "zero", 0 },
+ { "one", 1 },
+ { "two", 2 },
+ { 0, 0 } } },
+ { .opt_keyword = &kwb_val, .name = "boolkeyword", .present = &kwb_set,
+ .keyword_no_arg_value = "true", .keywords =
+ (notmuch_keyword_t []){ { "false", 0 },
+ { "true", 1 },
+ { "auto", 2 },
+ { 0, 0 } } },
+ { .opt_inherit = parent_options },
+ { .opt_string = &string_val, .name = "string", .present = &string_set },
+ { .opt_position = &pos_arg1, .present = &pos1_set },
+ { .opt_position = &pos_arg2, .present = &pos2_set },