aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-06-05 06:57:59 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-06-05 06:57:59 +0000
commit3e1dcfa582687258c8ef93604bd6882e9b3e40c6 (patch)
tree3b74bc8a5d511e8b900653d9d5a400e583072f1e /options.c
parent6fa2bfb1da93ab763e3df6d8bf1ae9e0fa6a99a1 (diff)
downloadfetchmail-3e1dcfa582687258c8ef93604bd6882e9b3e40c6.tar.gz
fetchmail-3e1dcfa582687258c8ef93604bd6882e9b3e40c6.tar.bz2
fetchmail-3e1dcfa582687258c8ef93604bd6882e9b3e40c6.zip
Tracepolls switch implemented.
svn path=/trunk/; revision=3337
Diffstat (limited to 'options.c')
-rw-r--r--options.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/options.c b/options.c
index 7b7c4799..c1f77554 100644
--- a/options.c
+++ b/options.c
@@ -85,6 +85,8 @@
#define LA_SHOWDOTS 57
#define LA_PRINCIPAL 58
+#define LA_TRACEPOLLS 59
+
/* options still left: CDgGhHjJoORwWxXYz */
static const char *shortoptions =
"?Vcsvd:NqL:f:i:p:UP:A:t:E:Q:u:akKFnl:r:S:Z:b:B:e:m:T:I:M:yw:";
@@ -169,6 +171,8 @@ static const struct option longoptions[] = {
{"yydebug", no_argument, (int *) 0, LA_YYDEBUG },
+ {"tracepolls",no_argument, (int *) 0, LA_TRACEPOLLS },
+
{(char *) 0, no_argument, (int *) 0, 0 }
};
@@ -615,6 +619,10 @@ struct query *ctl; /* option record to be initialized */
rctl->use_syslog = FLAG_FALSE;
break;
+ case LA_TRACEPOLLS:
+ ctl->tracepolls = FLAG_TRUE;
+ break;
+
case '?':
case LA_HELP:
default:
@@ -664,6 +672,7 @@ struct query *ctl; /* option record to be initialized */
P(_(" -E, --envelope envelope address header\n"));
P(_(" -Q, --qvirtual prefix to remove from local user id\n"));
P(_(" --principal mail service principal\n"));
+ P(_(" --addaccthdr add an X-Fetchmail-Account header (\"label <user@host>\")\n"));
P(_(" -u, --username specify users's login on server\n"));
P(_(" -a, --all retrieve old and new messages\n"));