From 3e1dcfa582687258c8ef93604bd6882e9b3e40c6 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 5 Jun 2001 06:57:59 +0000 Subject: Tracepolls switch implemented. svn path=/trunk/; revision=3337 --- options.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'options.c') 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 \")\n")); P(_(" -u, --username specify users's login on server\n")); P(_(" -a, --all retrieve old and new messages\n")); -- cgit v1.2.3