aboutsummaryrefslogtreecommitdiff
path: root/notmuch-config.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2023-09-21 16:50:02 -0300
committerDavid Bremner <david@tethera.net>2024-07-25 19:30:54 +0900
commit14150416dd8e9d824e57566368ae79a23a90f593 (patch)
tree8623f45f2079f22732ba9618904a0b65a2a9ba90 /notmuch-config.c
parenta1921a25b71b23335ac01db7fc2f5462bf5edd3a (diff)
CLI: update commentary in config file to better match code
This comment has been out of date since notmuch 0.32. Although it isn't really possible to explain all the options here, explain both one new "split" way of doing things and the traditional one with database inside $MAIL_ROOT/.notmuch.
Diffstat (limited to 'notmuch-config.c')
-rw-r--r--notmuch-config.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/notmuch-config.c b/notmuch-config.c
index 8123e438..f7e59f1e 100644
--- a/notmuch-config.c
+++ b/notmuch-config.c
@@ -40,11 +40,13 @@ static const struct config_group {
"database",
" Database configuration\n"
"\n"
- " The only value supported here is 'path' which should be the top-level\n"
- " directory where your mail currently exists and to where mail will be\n"
- " delivered in the future. Files should be individual email messages.\n"
- " Notmuch will store its database within a sub-directory of the path\n"
- " configured here named \".notmuch\".\n"
+ " Supported values are 'mail_root' and 'path'. The recommended option\n"
+ " is to set 'mail_root' to the directory where your mail currently exists\n"
+ " and to where mail will be delivered in the future. Files should be\n"
+ " individual email messages. By default notmuch will store its database\n"
+ " in $XDG_DATA_HOME/notmuch; you can override this by setting 'path'.\n"
+ " If only 'path' is set, this directory is for 'mail_root' and for\n"
+ " the database location (in a subdirectory called \".notmuch\").\n"
},
{
"user",