* mu-cmd-find, mu-output: don't use --summary-len anymore, use --summary
This commit is contained in:
@ -138,7 +138,7 @@ run_query_format (MuMsgIter *iter, MuConfig *opts,
|
||||
return mu_output_links (iter, opts->linksdir, opts->clearlinks,
|
||||
count);
|
||||
case FORMAT_PLAIN:
|
||||
return mu_output_plain (iter, opts->fields, opts->summary_len,
|
||||
return mu_output_plain (iter, opts->fields, opts->summary,
|
||||
count);
|
||||
case FORMAT_XML:
|
||||
return mu_output_xml (iter, count);
|
||||
|
||||
@ -33,13 +33,14 @@ G_BEGIN_DECLS
|
||||
*
|
||||
* @param iter iterator pointing to a message row
|
||||
* @param fields the fields to print (see MuMsgFields)
|
||||
* @param summary_len number of lines to include in message summary
|
||||
* @param summary whether we should include a summary (TRUE) or not (FALSE
|
||||
* )
|
||||
* @param count output param to receive the number of messages found, or NULL
|
||||
*
|
||||
* @return TRUE if the printing succeeded, FALSE in case of error
|
||||
*/
|
||||
gboolean mu_output_plain (MuMsgIter *iter, const char *fields,
|
||||
size_t summary_len, size_t *count);
|
||||
gboolean summary, size_t *count);
|
||||
|
||||
/**
|
||||
* output the search results (MsgIter) as a maildir of symlinks
|
||||
|
||||
Reference in New Issue
Block a user