* mu-cmd-index: add documentation, don't print \n in quiet mode

This commit is contained in:
Dirk-Jan C. Binnema 2010-01-31 13:34:04 +02:00
parent ee946a7f70
commit c4bac8306e
2 changed files with 18 additions and 1 deletions

View File

@ -223,7 +223,8 @@ mu_cmd_index (MuConfigOptions *opts)
NULL, NULL);
if (!opts->nocleanup && !MU_CAUGHT_SIGNAL) {
stats._processed = 0; /* start over */
g_print ("\n");
if (!opts->quiet)
g_print ("\n");
g_message ("Cleaning up missing messages");
mu_index_cleanup (midx, &stats,
opts->quiet ?

View File

@ -23,7 +23,23 @@
#include <glib.h>
#include "mu-config.h"
/**
* execute the 'index' command
*
* @param opts configuration options
*
* @return TRUE if the command succeede, FALSE otherwise
*/
gboolean mu_cmd_index (MuConfigOptions *opts);
/**
* execute the 'cleanup' command
*
* @param opts configuration options
*
* @return TRUE if the command succeede, FALSE otherwise
*/
gboolean mu_cmd_cleanup (MuConfigOptions *opts);