]> git.notmuchmail.org Git - notmuch/blobdiff - command-line-arguments.h
cli: Add support for parsing keyword-flag arguments
[notmuch] / command-line-arguments.h
index de1734ad2fdb3f0c5444c73abc5f74b7cbd99cf2..6444129ad2d095e811fcb0d17b93d8fc42aa7166 100644 (file)
@@ -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   */
 };