]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-reply.c
cli: tell how many messages were precisely matched when expected 1 match
[notmuch] / notmuch-reply.c
index 3c6d685cbd6054c68a0281e696e747c8045aff57..a74194a31e4fc7be9505659a973146fc70a295b2 100644 (file)
@@ -664,7 +664,7 @@ notmuch_reply_format_sprinter(void *ctx,
        return 1;
 
     if (count != 1) {
-       fprintf (stderr, "Error: search term did not match precisely one message.\n");
+       fprintf (stderr, "Error: search term did not match precisely one message (matched %d messages).\n", count);
        return 1;
     }