X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-search.c;h=41e317a221961ebdab9d82ada88a9f4dc0935fae;hp=3873a067cb59d5c21173ecdb23778848c6707a2b;hb=93dcc3b695e19dd36cc8f638c6e01ecbbd9a447d;hpb=13569ad6c96c3f3a653ac51274056614647ad7ef diff --git a/notmuch-search.c b/notmuch-search.c index 3873a067..41e317a2 100644 --- a/notmuch-search.c +++ b/notmuch-search.c @@ -53,7 +53,7 @@ notmuch_search_command (void *ctx, int argc, char *argv[]) return 1; } - for (threads = notmuch_query_search_threads (query); + for (threads = notmuch_query_search_threads (query, 0, -1); notmuch_threads_has_more (threads); notmuch_threads_advance (threads)) { @@ -64,9 +64,10 @@ notmuch_search_command (void *ctx, int argc, char *argv[]) date = notmuch_thread_get_oldest_date (thread); relative_date = notmuch_time_relative_date (ctx, date); - printf ("thread:%s %12s %s", + printf ("thread:%s %12s %s; %s", notmuch_thread_get_thread_id (thread), relative_date, + notmuch_thread_get_authors (thread), notmuch_thread_get_subject (thread)); printf (" (");