From ce08ec325024b75df49c7b3a0b58ab413e7d6d88 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 2a9ada74..2a6b51c3 100644 --- a/mu/mu-config.hh +++ b/mu/mu-config.hh @@ -112,7 +112,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 a90cddae..0a17d0ad 100644 --- a/toys/mug/mug.cc +++ b/toys/mug/mug.cc @@ -209,7 +209,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"