]> git.notmuchmail.org Git - notmuch/blobdiff - command-line-arguments.h
cli: some keyword options can be supplied with no argument
[notmuch] / command-line-arguments.h
index c0228f7cb634dca5f34182a53e40d0803dc644c5..f722f97dde6e57c691437914b91cf42128384fa9 100644 (file)
@@ -26,6 +26,10 @@ typedef struct notmuch_opt_desc {
     const char **opt_string;
     const char **opt_position;
 
+    /* for opt_keyword only: if no matching arguments were found, and
+     * keyword_no_arg_value is set, then use keyword_no_arg_value instead. */
+    const char *keyword_no_arg_value;
+
     /* Must be set except for opt_inherit and opt_position. */
     const char *name;