if (print_status_database ("notmuch search", ctx->notmuch,
notmuch_query_create_with_syntax (ctx->notmuch, query_str,
- ctx->query_syntax, &ctx->query)))
+ shared_option_query_syntax (),
+ &ctx->query)))
return EXIT_FAILURE;
notmuch_query_set_sort (ctx->query, ctx->sort);
{ "text", NOTMUCH_FORMAT_TEXT },
{ "text0", NOTMUCH_FORMAT_TEXT0 },
{ 0, 0 } } },
- { .opt_keyword = &search_context.query_syntax, .name = "query", .keywords =
- (notmuch_keyword_t []){ { "infix", NOTMUCH_QUERY_SYNTAX_XAPIAN },
- { "sexp", NOTMUCH_QUERY_SYNTAX_SEXP },
- { 0, 0 } } },
{ .opt_int = ¬much_format_version, .name = "format-version" },
{ }
};