aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.c
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2011-10-21 19:09:49 -0300
committerGravatar David Bremner <bremner@debian.org>2011-10-23 10:27:57 -0300
commit3ae8ac6ace7c05ba066aba54a92054eb4232a99d (patch)
treee7d82555c11abcdca536f92d6230286e57f68f5e /notmuch.c
parent903fe6398693621484315d30bd8d37de4095f4a5 (diff)
docs: Update news, man page, and online help for restore --accumulate
As a side effect, reformat the NEWs entry for notmuch dump for consistency with the notmuch restore NEWS submitted by Thomas Schwinge.
Diffstat (limited to 'notmuch.c')
-rw-r--r--notmuch.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/notmuch.c b/notmuch.c
index 4232bee7..e004c6c5 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -393,13 +393,17 @@ static command_t commands[] = {
"\tSee \"notmuch help search-terms\" for the search-term syntax.\n"
},
{ "restore", notmuch_restore_command,
- "<filename>",
+ "[--accumulate] [<filename>]",
"Restore the tags from the given dump file (see 'dump').",
+ "\tInput is read from the given filename, if any, or from stdin.\n"
"\tNote: The dump file format is specifically chosen to be\n"
"\tcompatible with the format of files produced by sup-dump.\n"
"\tSo if you've previously been using sup for mail, then the\n"
"\t\"notmuch restore\" command provides you a way to import\n"
- "\tall of your tags (or labels as sup calls them)." },
+ "\tall of your tags (or labels as sup calls them).\n"
+ "\tThe --accumulate switch causes the union of the existing and new\n"
+ "\ttags to be applied, instead of replacing each message's tags as\n"
+ "\tthey are read in from the dump file."},
{ "config", notmuch_config_command,
"[get|set] <section>.<item> [value ...]",
"Get or set settings in the notmuch configuration file.",