]> git.notmuchmail.org Git - notmuch/blobdiff - command-line-arguments.h
cli: change the data structure for notmuch address deduplication
[notmuch] / command-line-arguments.h
index af8b1cebd626d9fd5d5ce8fb89af063581e81c64..309aaf2b37b89878ebeac38e0f67ebbfd7e4996b 100644 (file)
@@ -5,9 +5,11 @@
 
 enum notmuch_opt_type {
     NOTMUCH_OPT_END = 0,
+    NOTMUCH_OPT_INHERIT,       /* another options table */
     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 +40,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;