diff --git a/src/mu-cmd-index.c b/src/mu-cmd-index.c index a8603880..2ebd11a9 100644 --- a/src/mu-cmd-index.c +++ b/src/mu-cmd-index.c @@ -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 ? diff --git a/src/mu-cmd-index.h b/src/mu-cmd-index.h index 050c9d87..7461eb99 100644 --- a/src/mu-cmd-index.h +++ b/src/mu-cmd-index.h @@ -23,7 +23,23 @@ #include #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);