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) ...@@ -356,7 +356,7 @@ _mh_msgset_parse (mailbox_t mbox, mh_msgset_t *msgset, int argc, char **argv)
356 356
357 case '-': 357 case '-':
358 end = strtoul (p+1, &p, 0); 358 end = strtoul (p+1, &p, 0);
359 if (*p || end == start) 359 if (*p)
360 msgset_abort (argv[i]); 360 msgset_abort (argv[i]);
361 if (end < start) 361 if (end < start)
362 { 362 {
......