From 94dc81a91b2f300d1c583cc10956869d29c645a8 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Thu, 26 Oct 2017 17:28:12 -0400 Subject: [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 948c153b..fb093de8 100644 --- a/completion/notmuch-completion.bash +++ b/completion/notmuch-completion.bash @@ -607,7 +607,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 0becd87e..2d193aa8 100644 --- a/notmuch.c +++ b/notmuch.c @@ -190,6 +190,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.43.0