diff options
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")); |