[PATCH 2/2] CLI: mention sexp-queries in help topics, alphabetize

Subject: [PATCH 2/2] CLI: mention sexp-queries in help topics, alphabetize

Date: Sun, 29 May 2022 15:22:04 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


There does not seem to be an easy way to automate maintaining this
list, but new topics are not added very often.
---
 notmuch.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/notmuch.c b/notmuch.c
index c39fcfb2..68a785e2 100644
--- 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 *
-- 
2.35.2

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: