X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=command-line-arguments.h;h=6444129ad2d095e811fcb0d17b93d8fc42aa7166;hb=207f3bf82102f01fbbda193018e81a82f6c1259d;hp=af8b1cebd626d9fd5d5ce8fb89af063581e81c64;hpb=2cf7b27a0c4b4e746e2e40752c55ddb4d54798b2;p=notmuch diff --git a/command-line-arguments.h b/command-line-arguments.h index af8b1ceb..6444129a 100644 --- a/command-line-arguments.h +++ b/command-line-arguments.h @@ -8,6 +8,7 @@ enum notmuch_opt_type { NOTMUCH_OPT_BOOLEAN, /* --verbose */ NOTMUCH_OPT_INT, /* --frob=8 */ NOTMUCH_OPT_KEYWORD, /* --format=raw|json|text */ + NOTMUCH_OPT_KEYWORD_FLAGS, /* the above with values OR'd together */ NOTMUCH_OPT_STRING, /* --file=/tmp/gnarf.txt */ NOTMUCH_OPT_POSITION /* notmuch dump pos_arg */ }; @@ -38,7 +39,7 @@ typedef struct notmuch_opt_desc { void *output_var; const char *name; int arg_id; - struct notmuch_keyword *keywords; + const struct notmuch_keyword *keywords; } notmuch_opt_desc_t;