aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-10-28 11:33:55 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-10-28 11:35:54 -0700
commit53311617494feb4ce575e9676cba938b93d5ebfb (patch)
tree9a08caca8d4d0c73b9b06ddd1489d01a7274ed9c /notmuch.c
parent6dcb7592e32ed5140ea0c0357ce78d6a37af6066 (diff)
notmuch search: Add a new "notmuch search --output=files"
Yet another thing that will be extremely handy for scripts.
Diffstat (limited to 'notmuch.c')
-rw-r--r--notmuch.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/notmuch.c b/notmuch.c
index e92f14c5..1faed3e4 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -186,6 +186,12 @@ command_t commands[] = {
"\t\tterms, either one per line (--format=text) or as a JSON array\n"
"\t\t(--format=json).\n"
"\n"
+ "\t\tfiles\n"
+ "\n"
+ "\t\tOutput the filenames of all messages matching the search\n"
+ "\t\tterms, either one per line (--format=text) or as a JSON array\n"
+ "\t\t(--format=json).\n"
+ "\n"
"\t\ttags\n"
"\n"
"\t\tOutput all tags that appear on any message matching the search\n"