X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=abook.1;h=cec604759956598a9514c9f8e9028880ce698da3;hb=7c88cafcd333277b6bfd55370a5ec1c5b76c2b0d;hp=3e37f98c6773345e346af4603ed8d796e0ef45fd;hpb=e412bbaaf492422e593312d7768f5b7e8261eb58;p=pkg%2Fabook.git diff --git a/abook.1 b/abook.1 index 3e37f98..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 @@ -87,11 +89,13 @@ The following \fIoutputformats\fR are supported: - \fBcustom\fP Custom output format, see below .TP \fB\-\-outformatstr\fP \fI\fR -Only used in the context of \fB\-\-mutt\-query\fP \fIand\fR \fB\-\-outformat\fP=\fIcustom\fR. \fI\fR is a format string allowing placeholders. -A placeholder can be any of the standard fields names (see \fBabookrc\fP(5)) and must be -encapsulated by curly brackets. +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}" -If \fI\fR starts with \fI!\fR only entries whose every fields from \fI\fR are non-NULL are part of the output. +.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.