diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-11-11 19:24:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-11-11 19:24:00 +0000 |
commit | 4d9ebfc1ae8788f66be711273d73bf4831a7cd4e (patch) | |
tree | daebb4a9a23e88cd09eefc12d78feb194c9ee938 /options.c | |
parent | 63a3fd1876062cdff8e59feca193a840a91bc0c8 (diff) | |
download | fetchmail-4d9ebfc1ae8788f66be711273d73bf4831a7cd4e.tar.gz fetchmail-4d9ebfc1ae8788f66be711273d73bf4831a7cd4e.tar.bz2 fetchmail-4d9ebfc1ae8788f66be711273d73bf4831a7cd4e.zip |
Ready to ship.
svn path=/trunk/; revision=2983
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -79,6 +79,7 @@ #endif #define LA_SHOWDOTS 53 +#define LA_PRINCIPAL 54 /* options still left: CDgGhHjJoORwWxXYz */ static const char *shortoptions = @@ -147,6 +148,8 @@ static const struct option longoptions[] = { {"sslcert", required_argument, (int *) 0, LA_SSLCERT }, #endif + {"principal", required_argument, (int *) 0, LA_PRINCIPAL }, + #if (defined(linux) && !INET6_ENABLE) || defined(__FreeBSD__) {"interface", required_argument, (int *) 0, LA_INTERFACE }, {"monitor", required_argument, (int *) 0, LA_MONITOR }, @@ -559,6 +562,10 @@ struct query *ctl; /* option record to be initialized */ break; #endif + case LA_PRINCIPAL: + ctl->server.principal = xstrdup(optarg); + break; + case 'y': case LA_YYDEBUG: yydebug = TRUE; @@ -629,6 +636,7 @@ struct query *ctl; /* option record to be initialized */ P(_(" -t, --timeout server nonresponse timeout\n")); 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(_(" -u, --username specify users's login on server\n")); P(_(" -a, --all retrieve old and new messages\n")); |