diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2011-12-26 22:36:32 -0800 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-12-31 15:16:32 -0400 |
commit | f079f5f931e40eb57abd93c5d0d6de515f48eafd (patch) | |
tree | 2322b65e68ac005194b052b250980b40a7aeec8e /man | |
parent | 77b8d70600193cf9e4d84a4281de6da0d5224c3b (diff) |
break up dump and restore man pages.
These functions are enough different in their behavior that it's not
really worth it to combine them. They overlap in the format of the
dump file, but we can have a separate page that describes the dump
format, and either reference it or include it. This also keeps things
nice and clean with one page per command.
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile.local | 2 | ||||
-rw-r--r-- | man/man1/notmuch-dump.1 | 25 | ||||
-rw-r--r--[l---------] | man/man1/notmuch-restore.1 | 40 |
3 files changed, 40 insertions, 27 deletions
diff --git a/man/Makefile.local b/man/Makefile.local index 0c213d86..a3ae8976 100644 --- a/man/Makefile.local +++ b/man/Makefile.local @@ -11,6 +11,7 @@ MAN1 := \ $(dir)/man1/notmuch-config.1 \ $(dir)/man1/notmuch-count.1 \ $(dir)/man1/notmuch-dump.1 \ + $(dir)/man1/notmuch-restore.1 \ $(dir)/man1/notmuch-new.1 \ $(dir)/man1/notmuch-reply.1 \ $(dir)/man1/notmuch-search.1 \ @@ -41,7 +42,6 @@ install-man: $(COMPRESSED_MAN) install -m0644 $(MAN5_GZ) $(DESTDIR)/$(mandir)/man5 install -m0644 $(MAN7_GZ) $(DESTDIR)/$(mandir)/man7 cd $(DESTDIR)/$(mandir)/man1 && ln -s notmuch.1.gz notmuch-setup.1.gz - cd $(DESTDIR)/$(mandir)/man1 && ln -s notmuch-dump.1.gz notmuch-restore.1.gz verify-version-manpage: verify-version-components @echo -n "Checking that manual page version is $(VERSION)..." diff --git a/man/man1/notmuch-dump.1 b/man/man1/notmuch-dump.1 index 5f5395f6..9ccf35d5 100644 --- a/man/man1/notmuch-dump.1 +++ b/man/man1/notmuch-dump.1 @@ -8,14 +8,8 @@ notmuch-dump \- Creates a plain-text dump of the tags of each message. .RI "[ <" filename "> ] [--]" .RI "[ <" search-term ">...]" -.B "notmuch restore" -.RB [ "--accumulate" ] -.RI "[ <" filename "> ]" - .SH DESCRIPTION -.SS DUMP - Dump tags for messages matching the given search terms. Output is to the given filename, if any, or to stdout. Note that @@ -30,25 +24,6 @@ With no search terms, a dump of all messages in the database will be generated. A "--" argument instructs notmuch that the remaining arguments are search terms. -.SS RESTORE - -Restores the tags from the given file (see -.BR "notmuch dump" ")." - -The input is read from the given filename, if any, or from stdin. - -Note: The dump file format is specifically chosen to be -compatible with the format of files produced by sup-dump. -So if you've previously been using sup for mail, then the -.B "notmuch restore" -command provides you a way to import all of your tags (or labels as -sup calls them). - -The --accumulate switch causes the union of the existing and new tags to be -applied, instead of replacing each message's tags as they are read in from the -dump file. -.RE - See \fBnotmuch-search-terms\fR(7) for details of the supported syntax for <search-terms>. diff --git a/man/man1/notmuch-restore.1 b/man/man1/notmuch-restore.1 index b7a4d1b0..2191df01 120000..100644 --- a/man/man1/notmuch-restore.1 +++ b/man/man1/notmuch-restore.1 @@ -1 +1,39 @@ -notmuch-dump.1
\ No newline at end of file +.TH NOTMUCH-RESTORE 1 2011-12-04 "Notmuch 0.10.2" +.SH NAME +notmuch-restore \- Restores the tags from the given file (see notmuch dump). + +.SH SYNOPSIS + +.B "notmuch restore" +.RB [ "--accumulate" ] +.RI "[ <" filename "> ]" + +.SH DESCRIPTION + +Restores the tags from the given file (see +.BR "notmuch dump" ")." + +The input is read from the given filename, if any, or from stdin. + +Note: The dump file format is specifically chosen to be +compatible with the format of files produced by sup-dump. +So if you've previously been using sup for mail, then the +.B "notmuch restore" +command provides you a way to import all of your tags (or labels as +sup calls them). + +The --accumulate switch causes the union of the existing and new tags to be +applied, instead of replacing each message's tags as they are read in from the +dump file. + +See \fBnotmuch-search-terms\fR(7) +for details of the supported syntax for <search-terms>. + +.RE +.SH SEE ALSO + +\fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-count\fR(1), +\fBnotmuch-hooks\fR(5), \fBnotmuch-new\fR(1), \fBnotmuch-part\fR(1), +\fBnotmuch-reply\fR(1), \fBnotmuch-dump\fR(1), +\fBnotmuch-search\fR(1), \fBnotmuch-search-terms\fR(7), +\fBnotmuch-show\fR(1), \fBnotmuch-tag\fR(1) |