aboutsummaryrefslogtreecommitdiffstats
path: root/imapsync.1
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-07-26 02:42:32 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-07-26 02:42:32 +0200
commitf3675b5adf9bdb421d668fa7fd894128f2d70a07 (patch)
tree5e965b894bd48acd7a1002d2fc45c418aa3f642b /imapsync.1
parent1c78a883849c5ffc4e2fbd84dc912dec18486759 (diff)
Add an option 'logfile' to log debug messages.
Diffstat (limited to 'imapsync.1')
-rw-r--r--imapsync.112
1 files changed, 8 insertions, 4 deletions
diff --git a/imapsync.1 b/imapsync.1
index fec830e..f4f6965 100644
--- a/imapsync.1
+++ b/imapsync.1
@@ -129,10 +129,9 @@ Try to be quiet.
.TP
.B \-\-debug
-Turn on debug mode.
-Note that all IMAP traffic (excluding literals) is then printed to the
-error output. Depending on the chosen authentication mechanism,
-this might include authentication credentials.
+Turn on debug mode. Debug messages are written to the given \fIlogfile\fR.
+Note that this include all IMAP traffic (except literals). Depending on the
+chosen authentication mechanism, this might include authentication credentials.
.TP
.B \-h\fR, \fB\-\-help\fR
@@ -169,6 +168,11 @@ This option is only available in the default section.
\(lq[remote]\(rq or \(lq[local]\(rq sections, in that order.
.TP
+.I logfile
+A file name to use to log debug and informational messages. This option is
+only available in the default section.
+
+.TP
.I type
One of \(lqimap\(rq, \(lqimaps\(rq or \(lqtunnel\(rq.
\fItype\fR=imap and \fItype\fR=imaps are respectively used for IMAP and