mpick: add missing :R msglist type

pull/24/head
Duncaen 7 years ago
parent 79d5047cde
commit 914c0d744b

@ -692,6 +692,7 @@ parse_msglist(char *s)
case 'S': flag = FLAG_SEEN; break;
case 'o': n = 1; /* FALL TROUGH */
case 'n': flag = FLAG_NEW; break;
case 'R': flag = FLAG_REPLIED; break;
default: parse_error("unknown type at '%.15s'", s);
}

@ -25,7 +25,7 @@ check_same 'flag seen' 'mlist inbox | mpick :S' 'mlist -S inbox'
check_same 'flag not seen' 'mlist inbox | mpick -t !seen' 'mlist -s inbox'
check_same 'flag seen and trashed' 'mlist inbox | mpick :S :T' 'mlist -ST inbox'
check_same 'flag seen and not trashed' 'mlist inbox | mpick -t "seen && !trashed"' 'mlist -St inbox'
# check_same 'flag replied' 'mlist inbox | mpick :R' 'mlist -R inbox'
check_same 'flag replied' 'mlist inbox | mpick :R' 'mlist -R inbox'
check_same 'flag forwarded' 'mlist inbox | mpick :F' 'mlist -F inbox'

Loading…
Cancel
Save