]> git.notmuchmail.org Git - notmuch/commitdiff
CLI: mention sexp-queries in help topics, alphabetize
authorDavid Bremner <david@tethera.net>
Sun, 29 May 2022 18:22:04 +0000 (15:22 -0300)
committerDavid Bremner <david@tethera.net>
Mon, 13 Jun 2022 10:18:26 +0000 (07:18 -0300)
There does not seem to be an easy way to automate maintaining this
list, but new topics are not added very often.

notmuch.c

index c39fcfb2cb1c066e498758cde37deae65e13e99b..68a785e25bf0b826a17071bc8162edefe30fb87b 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -211,12 +211,14 @@ typedef struct help_topic {
 } help_topic_t;
 
 static const help_topic_t help_topics[] = {
-    { "search-terms",
-      "Common search term syntax." },
     { "hooks",
       "Hooks that will be run before or after certain commands." },
     { "properties",
       "Message property conventions and documentation." },
+    { "search-terms",
+      "Common infix search term syntax." },
+    { "sexp-queries",
+      "Common s-expression search term syntax." },
 };
 
 static const command_t *