Commit 3974b52c 3974b52c7d21495b9ec22eeb0fa21054bd2e71fe by Sergey Poznyakoff

(_mh_msgset_parse): Accept "all" message spec on folders with only one message.

1 parent 3377d3a6
......@@ -356,7 +356,7 @@ _mh_msgset_parse (mailbox_t mbox, mh_msgset_t *msgset, int argc, char **argv)
case '-':
end = strtoul (p+1, &p, 0);
if (*p || end == start)
if (*p)
msgset_abort (argv[i]);
if (end < start)
{
......