From 6c8770e146420bb7651c8e10e279402f45ff1c3d Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sat, 9 Feb 2013 10:32:30 +0100 Subject: [PATCH] Cosmetics. --- mymail-vm.el | 2 +- mymail.1 | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) 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, -- 2.20.1