[PATCH] cli/help,completion: added pointers to notmuch-properties(7)

classic Classic list List threaded Threaded
1 message Options
Daniel Kahn Gillmor Daniel Kahn Gillmor
Reply | Threaded
Open this post in threaded view
|

[PATCH] cli/help,completion: added pointers to notmuch-properties(7)

---
 completion/notmuch-completion.bash | 2 +-
 notmuch.c                          | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash
index a0c3ac17..895fc554 100644
--- a/completion/notmuch-completion.bash
+++ b/completion/notmuch-completion.bash
@@ -611,7 +611,7 @@ _notmuch()
  esac
     elif [ "${arg}" = "help" ]; then
  # handle help command specially due to _notmuch_commands usage
- local help_topics="$_notmuch_commands hooks search-terms"
+ local help_topics="$_notmuch_commands hooks search-terms properties"
  COMPREPLY=( $(compgen -W "${help_topics}" -- ${cur}) )
     else
  # complete using _notmuch_subcommand if one exist
diff --git a/notmuch.c b/notmuch.c
index 2f43ad28..efbe32ff 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -186,6 +186,8 @@ static help_topic_t help_topics[] = {
       "Common search term syntax." },
     { "hooks",
       "Hooks that will be run before or after certain commands." },
+    { "properties",
+      "Message property conventions and documentation." },
 };
 
 static command_t *
--
2.14.2

_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch