From af7d6750fd5d138914cf05f17836b3f87d2e880f Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 1 Jan 2018 18:44:59 +0100 Subject: mlist: listarg: list empty Maildirs if no filtering took place --- mlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mlist.c') diff --git a/mlist.c b/mlist.c index 0e97943..18d00d1 100644 --- a/mlist.c +++ b/mlist.c @@ -204,7 +204,7 @@ listarg(char *arg) if (!maildir) listdir(arg); - if (iflag && imatched) { + if (iflag && (imatched || (maildir && !flagset))) { tdirs++; printf("%6ld unseen %3ld flagged %6ld msg %s\n", iunseen, iflagged, icount, arg); -- cgit 1.4.1