]> git.deb.at Git - pkg/abook.git/blobdiff - abook.1
Import upstream git
[pkg/abook.git] / abook.1
diff --git a/abook.1 b/abook.1
index 452f0a6c68eb9b43166f2764c4f9567b2cdf75fd..26282004e12710723a01ee631700a93380862c2d 100644 (file)
--- a/abook.1
+++ b/abook.1
@@ -1,7 +1,7 @@
-.TH ABOOK 1 "June 6, 2003"
+.TH ABOOK 1 2006-09-06
 .nh
 .SH NAME
-abook \- text-based address book program
+abook \- text\-based address book program
 .SH SYNOPSIS
 .B abook
 [ \fIOPTION\fR ]
@@ -27,12 +27,14 @@ Use an alternative configuration file (default is \fI$HOME/.abook/abookrc\fR).
 \fB\-\-datafile\fP \fI<filename>\fR
 Use an alternative addressbook file (default is \fI$HOME/.abook/addressbook\fR).
 .TP
-\fB\-\-mutt\-query\fP \fI<string>\fR
+\fB\-\-mutt\-query\fP \fI<string>\fR [ \fB\-\-outformat\fP \fI<outputformat>\fR ]
 Make a query for mutt (search the addressbook for \fI<string>\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<outputformat>\fR are allowed: \fBmutt\fP (default), \fBvcard\fP and \fBcustom\fP
 .TP
 \fB\-\-convert\fP [ \fB\-\-informat\fP \fI<inputformat>\fR ] [ \fB\-\-infile\fP \fI<inputfile>\fR ] [ \fB\-\-outformat\fP \fI<outputformat>\fR ] [ \fB\-\-outfile\fP \fI<outputfile>\fR ]
 Converts \fI<inputfile>\fR in \fI<inputformat>\fR to \fI<outputfile>\fR in \fI<outputformat>\fR
@@ -41,50 +43,65 @@ Converts \fI<inputfile>\fR in \fI<inputformat>\fR to \fI<outputfile>\fR in \fI<o
 .br
 The following \fIinputformats\fR are supported:
 .br
-- \fBabook\fP abook native format
+\- \fBabook\fP abook native format
+.br
+\- \fBldif\fP ldif / Netscape addressbook
 .br
-- \fBldif\fP ldif / Netscape addressbook
+\- \fBmutt\fP mutt alias
 .br
-- \fBmutt\fP mutt alias
+\- \fBpine\fP pine addressbook
 .br
-- \fBpine\fP pine addressbook
+\- \fBcsv\fP comma separated values
 .br
-- \fBcsv\fP comma separated values
+\- \fBpalmcsv\fP Palm comma separated values
 .br
-- \fBpalmcsv\fP Palm comma separated values
+\- \fBvcard\fP VCard addressbook
 
 .br
 The following \fIoutputformats\fR are supported:
 .br
-- \fBabook\fP abook native format
+\- \fBabook\fP abook native format
+.br
+\- \fBldif\fP ldif / Netscape addressbook (.4ld)
+.br
+\- \fBmutt\fP mutt alias
 .br
-- \fBldif\fP ldif / Netscape addressbook (.4ld)
+\- \fBhtml\fP html document
 .br
-- \fBmutt\fP mutt alias
+\- \fBpine\fP pine addressbook
 .br
-- \fBhtml\fP html document
+\- \fBvcard\fP VCard addressbook
 .br
-- \fBpine\fP pine addressbook
+\- \fBcsv\fP comma separated values
 .br
-- \fBgcrd\fP GnomeCard (VCard) addressbook
+\- \fBpalmcsv\fP Palm comma separated values
 .br
-- \fBcsv\fP comma separated values
+\- \fBelm\fP elm alias
 .br
-- \fBpalmcsv\fP Palm comma separated values
+\- \fBtext\fP plain text
 .br
-- \fBelm\fP elm alias
+\- \fBspruce\fP Spruce address book
+.br
+\- \fBwl\fP Wanderlust address book
+.br
+\- \fBbsdcal\fP BSD calendar
+.br
+\- \fBcustom\fP Custom output format, see below
+.TP
+\fB\-\-outformatstr\fP \fI<string>\fR
+Only used if \fB\-\-mutt\-query\fP \fIor\fR \fB\-\-convert\fP is specified \fIand\fR \fB\-\-outformat\fP=\fIcustom\fR. \fI<string>\fR is a format string allowing placeholders.
 .br
-- \fBtext\fP plain text
+A placeholder can be any of the standard fields names (see \fBabookrc\fP(5)) and must be encapsulated by curly brackets.
 .br
-- \fBspruce\fP Spruce address book
+The default value is "{nick} ({name}): {mobile}"
 .br
-- \fBwl\fP Wanderlust address book
+If \fI<string>\fR starts with \fI!\fR only entries whose all fields from \fI<string>\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.
+\fB\-\-add\-email\fP
+Read an e\-mail message from stdin and add the sender to the addressbook.
 .TP
-\fB\-\-add-email-quiet\fP
-Same as --add-email but doesn't confirm adding.
+\fB\-\-add\-email\-quiet\fP
+Same as \-\-add\-email but doesn't confirm adding.
 .TP
 \fB\-\-formats\fP
 List available formats.