From: Francois Fleuret Date: Sat, 9 Feb 2013 09:32:30 +0000 (+0100) Subject: Cosmetics. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=6c8770e146420bb7651c8e10e279402f45ff1c3d;p=mymail.git Cosmetics. --- diff --git a/mymail-vm.el b/mymail-vm.el index 5d9d50c..dc1976c 100644 --- a/mymail-vm.el +++ b/mymail-vm.el @@ -42,7 +42,7 @@ prefaced with \\." (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) ",")) diff --git a/mymail.1 b/mymail.1 index 0fff226..82b35b5 100644 --- a/mymail.1 +++ b/mymail.1 @@ -41,8 +41,9 @@ set the db root path for recursive search \fB-l \fR, \fB--db-list \fR set the semicolon-separated list of db files for search .TP -\fB-s \fR, \fB--search \fR -search for matching mails in the db file +\fB-s \fR, \fB--search \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 \fR, \fB--db-file \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 -\fB-o \fR, \fB--output \fR -set the db filename pattern for recursive search +\fB-o \fR, \fB--output \fR set the +result mbox filename. If it is not set, the standard output is used .TP \fB-a \fR, \fB--default-search \fR set the default search field: If a search request is not understood,