X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=abook.1;h=cec604759956598a9514c9f8e9028880ce698da3;hb=7c501d6668c722e4b0200c4303c70fe840a708a9;hp=a1d5a72fb08e9cf67ad6f5cab4105bcf83d585ce;hpb=f214e4ab8782ed6bba5248aad9d39889e273968f;p=pkg%2Fabook.git diff --git a/abook.1 b/abook.1 index a1d5a72..cec6047 100644 --- a/abook.1 +++ b/abook.1 @@ -27,12 +27,14 @@ Use an alternative configuration file (default is \fI$HOME/.abook/abookrc\fR). \fB\-\-datafile\fP \fI\fR Use an alternative addressbook file (default is \fI$HOME/.abook/addressbook\fR). .TP -\fB\-\-mutt\-query\fP \fI\fR +\fB\-\-mutt\-query\fP \fI\fR [ \fB\-\-outformat\fP \fI\fR ] Make a query for mutt (search the addressbook for \fI\fR). .br The \fB\-\-datafile\fP option, as documented above, may be used .BI BEFORE this option to search a different addressbook file. +.br +Only a subset of the below \fI\fR are allowed: \fBmutt\fP (default), \fBvcard\fP and \fBcustom\fP .TP \fB\-\-convert\fP [ \fB\-\-informat\fP \fI\fR ] [ \fB\-\-infile\fP \fI\fR ] [ \fB\-\-outformat\fP \fI\fR ] [ \fB\-\-outfile\fP \fI\fR ] Converts \fI\fR in \fI\fR to \fI\fR in \fI\fR @@ -83,6 +85,17 @@ The following \fIoutputformats\fR are supported: - \fBwl\fP Wanderlust address book .br - \fBbsdcal\fP BSD calendar +.br +- \fBcustom\fP Custom output format, see below +.TP +\fB\-\-outformatstr\fP \fI\fR +Only used if \fB\-\-mutt\-query\fP \fIor\fR \fB\-\-convert\fP is specified \fIand\fR \fB\-\-outformat\fP=\fIcustom\fR. \fI\fR is a format string allowing placeholders. +.br +A placeholder can be any of the standard fields names (see \fBabookrc\fP(5)) and must be encapsulated by curly brackets. +.br +The default value is "{nick} ({name}): {mobile}" +.br +If \fI\fR starts with \fI!\fR only entries whose all fields from \fI\fR are non-NULL are included. .TP \fB\-\-add-email\fP Read an e-mail message from stdin and add the sender to the addressbook.