aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2017-10-26 17:28:12 -0400
committerDavid Bremner <david@tethera.net>2017-12-11 09:11:19 -0400
commit94dc81a91b2f300d1c583cc10956869d29c645a8 (patch)
treec45159f39aebdccdba905d9e049e261dad368c8e
parent7ef3b65376b87829441736f04b3231021f561d84 (diff)
cli/help,completion: added pointers to notmuch-properties(7)
-rw-r--r--completion/notmuch-completion.bash2
-rw-r--r--notmuch.c2
2 files changed, 3 insertions, 1 deletions
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 *