From d9ea0c7ef93176ea409fd57911f973932be0d897 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 10 Oct 1996 20:48:06 +0000 Subject: UIDs are back in. svn path=/trunk/; revision=285 --- options.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'options.c') diff --git a/options.c b/options.c index 77e29f16..cc6efff1 100644 --- a/options.c +++ b/options.c @@ -36,11 +36,12 @@ #define LA_SMTPHOST 16 #define LA_MDA 17 #define LA_LOGFILE 18 -#define LA_QUIT 19 -#define LA_NOREWRITE 20 -#define LA_CHECK 21 -#define LA_HELP 22 -#define LA_YYDEBUG 23 +#define LA_IDFILE 19 +#define LA_QUIT 20 +#define LA_NOREWRITE 21 +#define LA_CHECK 22 +#define LA_HELP 23 +#define LA_YYDEBUG 24 static char *shortoptions = "P:p:VaKkvS:m:sFd:f:u:r:L:qN?"; static struct option longoptions[] = { @@ -63,6 +64,7 @@ static struct option longoptions[] = { {"smtphost", required_argument, (int *) 0, LA_SMTPHOST }, {"mda", required_argument, (int *) 0, LA_MDA }, {"logfile", required_argument, (int *) 0, LA_LOGFILE }, + {"idfile", required_argument, (int *) 0, LA_IDFILE }, {"quit", no_argument, (int *) 0, LA_QUIT }, {"norewrite", no_argument, (int *) 0, LA_NOREWRITE }, {"check", no_argument, (int *) 0, LA_CHECK }, @@ -174,6 +176,11 @@ struct hostrec *queryctl; rcfile = (char *) xmalloc(strlen(optarg)+1); strcpy(rcfile,optarg); break; + case 'i': + case LA_IDFILE: + idfile = (char *) xmalloc(strlen(optarg)+1); + strcpy(idfile,optarg); + break; case 'u': case LA_USERNAME: strncpy(queryctl->remotename,optarg,sizeof(queryctl->remotename)-1); @@ -248,6 +255,7 @@ struct hostrec *queryctl; fputs(" -L, --logfile specify logfile name\n", stderr); fputs(" -q, --quit kill daemon process\n", stderr); fputs(" -f, --fetchmailrc specify alternate run control file\n", stderr); + fputs(" -i, --idfile specify alternate UIDs file\n", stderr); fputs(" -p, --protocol specify pop2, pop3, imap, apop, rpop, kpop\n", stderr); fputs(" -P, --port TCP/IP service port to connect to\n",stderr); -- cgit v1.2.3