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

This commit is contained in:
Daniel Kahn Gillmor 2017-10-26 17:28:12 -04:00 committed by David Bremner
parent 7ef3b65376
commit 94dc81a91b
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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 *