Cosmetics.
authorFrancois Fleuret <francois@fleuret.org>
Sat, 9 Feb 2013 09:32:30 +0000 (10:32 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Sat, 9 Feb 2013 09:32:30 +0000 (10:32 +0100)
mymail-vm.el
mymail.1

index 5d9d50c..dc1976c 100644 (file)
@@ -42,7 +42,7 @@ prefaced with \\."
           (mapcar
            (lambda (searche-request)
              (if (not (string= searche-request ""))
           (mapcar
            (lambda (searche-request)
              (if (not (string= searche-request ""))
-                 (list "-s" searche-request)))
+                 (list "--search" searche-request)))
            (if (string= (substring param 0 1) "\\")
                (split-string (substring param 1 nil) ",")
              (split-string (concat param "," mymail/default-search-request) ","))
            (if (string= (substring param 0 1) "\\")
                (split-string (substring param 1 nil) ",")
              (split-string (concat param "," mymail/default-search-request) ","))
index 0fff226..82b35b5 100644 (file)
--- a/mymail.1
+++ b/mymail.1
@@ -41,8 +41,9 @@ set the db root path for recursive search
 \fB-l <db filename list>\fR, \fB--db-list <db filename list>\fR
 set the semicolon-separated list of db files for search
 .TP
 \fB-l <db filename list>\fR, \fB--db-list <db filename list>\fR
 set the semicolon-separated list of db files for search
 .TP
-\fB-s <search pattern>\fR, \fB--search <search pattern>\fR
-search for matching mails in the db file
+\fB-s <search pattern>\fR, \fB--search <search pattern>\fR search for
+matching mails in the db file. Multiple search requests can be
+combined, and only mails fulfilling all of them will be extracted.
 .TP
 \fB-d <db filename>\fR, \fB--db-file <db filename>\fR
 set the db filename for indexing
 .TP
 \fB-d <db filename>\fR, \fB--db-file <db filename>\fR
 set the db filename for indexing
@@ -51,8 +52,8 @@ set the db filename for indexing
 index mails in the mailboxes located recursively anywhere in the
 directories following the options on the command lines
 .TP
 index mails in the mailboxes located recursively anywhere in the
 directories following the options on the command lines
 .TP
-\fB-o <output filename>\fR, \fB--output <output filename>\fR
-set the db filename pattern for recursive search
+\fB-o <output filename>\fR, \fB--output <output filename>\fR set the
+result mbox filename. If it is not set, the standard output is used
 .TP
 \fB-a <search field>\fR, \fB--default-search <search field>\fR
 set the default search field: If a search request is not understood,
 .TP
 \fB-a <search field>\fR, \fB--default-search <search field>\fR
 set the default search field: If a search request is not understood,