From e412bbaaf492422e593312d7768f5b7e8261eb58 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Droz?= Date: Wed, 24 Oct 2012 18:22:55 +0200 Subject: [PATCH] custom output format (4/4): document custom output format in abook(1) --- abook.1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/abook.1 b/abook.1 index a1d5a72..3e37f98 100644 --- a/abook.1 +++ b/abook.1 @@ -83,6 +83,15 @@ 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 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. +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. .TP \fB\-\-add-email\fP Read an e-mail message from stdin and add the sender to the addressbook. -- 2.39.2