From a4720547dee67ea4cc175f0577e3460d961266a7 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sat, 23 Jan 2010 22:02:26 +0200 Subject: [PATCH] * use -n for --nocleanup --- man/mu.1 | 4 ++-- src/mu-config.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/man/mu.1 b/man/mu.1 index 00394215..e1d9f066 100644 --- a/man/mu.1 +++ b/man/mu.1 @@ -119,7 +119,7 @@ for more information. The optional phase two of the indexing-process is the removal of messages from the database for which there is no longer a corresponding file in the -Maildir. If you do not want this, you can use \fB\-u\fR, \fB\-\-nocleanup\fR. +Maildir. If you do not want this, you can use \fB\-n\fR, \fB\-\-nocleanup\fR. .SS Indexing options @@ -137,7 +137,7 @@ environment variable is set to; if that is not set, it tries re-index all mails, even ones that are already in the database. .TP -\fB\-u\fR, \fB\-\-nocleanup\fR +\fB\-n\fR, \fB\-\-nocleanup\fR disables the database cleanup that \fBmu\fR does by default after indexing. .TP diff --git a/src/mu-config.c b/src/mu-config.c index e2e05060..4897aab9 100644 --- a/src/mu-config.c +++ b/src/mu-config.c @@ -69,7 +69,7 @@ config_options_group_index (MuConfigOptions *opts) "empty the database before indexing"}, {"autoupgrade", 'u', 0, G_OPTION_ARG_NONE, &opts->autoupgrade, "automatically upgrade the database with new mu versions"}, - {"nocleanup", 'u', 0, G_OPTION_ARG_NONE, &opts->nocleanup, + {"nocleanup", 'n', 0, G_OPTION_ARG_NONE, &opts->nocleanup, "don't clean up the database after indexing", NULL}, { NULL, 0, 0, 0, NULL, NULL, NULL } };