From 38bd7ab4d2c3de94da1357cdb7437c62b84aa292 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Thu, 11 Nov 2021 21:27:05 +0200 Subject: [PATCH] doc: remove 'rebuild' remnants There's no --rebuild anymore (since a long time), so let's remove some remnants. --- mu/mu-config.hh | 1 - toys/mug/mug.cc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mu/mu-config.hh b/mu/mu-config.hh index 93c465bf..acc2f4d3 100644 --- a/mu/mu-config.hh +++ b/mu/mu-config.hh @@ -116,7 +116,6 @@ struct _MuConfig { /* options for indexing */ gboolean nocleanup; /* don't cleanup del'd mails from db */ - gboolean rebuild; /* empty the database before indexing */ gboolean lazycheck; /* don't check dirs with up-to-date * timestamps */ diff --git a/toys/mug/mug.cc b/toys/mug/mug.cc index 5833ee4a..a5ff2fb2 100644 --- a/toys/mug/mug.cc +++ b/toys/mug/mug.cc @@ -233,7 +233,7 @@ on_list_view_error (MugMsgListView * mlist, MugError err, MugData * mugdata) switch (err) { case MUG_ERROR_XAPIAN_NOT_UPTODATE: msg = "The Xapian Database has the wrong version\n" - "Please run 'mu index --rebuild'"; + "Please run 'mu init'"; break; case MUG_ERROR_XAPIAN_DIR: msg = "Cannot find the Xapian database dir\n"