* mu-cmd-index: add documentation, don't print \n in quiet mode
This commit is contained in:
@ -223,6 +223,7 @@ mu_cmd_index (MuConfigOptions *opts)
|
|||||||
NULL, NULL);
|
NULL, NULL);
|
||||||
if (!opts->nocleanup && !MU_CAUGHT_SIGNAL) {
|
if (!opts->nocleanup && !MU_CAUGHT_SIGNAL) {
|
||||||
stats._processed = 0; /* start over */
|
stats._processed = 0; /* start over */
|
||||||
|
if (!opts->quiet)
|
||||||
g_print ("\n");
|
g_print ("\n");
|
||||||
g_message ("Cleaning up missing messages");
|
g_message ("Cleaning up missing messages");
|
||||||
mu_index_cleanup (midx, &stats,
|
mu_index_cleanup (midx, &stats,
|
||||||
|
|||||||
@ -23,7 +23,23 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "mu-config.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);
|
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);
|
gboolean mu_cmd_cleanup (MuConfigOptions *opts);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user