Added maxnum argument to mu find.

This commit is contained in:
Titus von der Malsburg
2013-09-27 16:11:04 +02:00
parent d6c01a5975
commit 86e6c6c693
4 changed files with 10 additions and 1 deletions

View File

@ -598,6 +598,8 @@ output_query_results (MuMsgIter *iter, MuConfig *opts, GError **err)
MuMsg *msg;
if (opts->maxnum > 0 && count == opts->maxnum)
break;
msg = get_message (iter, opts->after);
if (!msg)
break;