]> git.notmuchmail.org Git - notmuch/blobdiff - command-line-arguments.h
cli: allow empty strings for notmuch insert --folder argument
[notmuch] / command-line-arguments.h
index 76ca4dcbb276714a15b8524fbe106ffd6ba2fc78..c0228f7cb634dca5f34182a53e40d0803dc644c5 100644 (file)
@@ -32,6 +32,9 @@ typedef struct notmuch_opt_desc {
     /* Optional, if non-NULL, set to true if the option is present. */
     bool *present;
 
+    /* Optional, allow empty strings for opt_string. */
+    bool allow_empty;
+
     /* Must be set for opt_keyword and opt_flags. */
     const struct notmuch_keyword *keywords;
 } notmuch_opt_desc_t;