aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-11-04 23:23:04 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-11-04 23:23:04 +0000
commit28a9baeb83858fdb6ed6e9a31615172d7a8c6c58 (patch)
treec4980b94ec224eb5248f83f6b1b59d226379cc9a /options.c
parent8e4400dd9871f9043819b3fe50326ab47af96cfc (diff)
downloadfetchmail-28a9baeb83858fdb6ed6e9a31615172d7a8c6c58.tar.gz
fetchmail-28a9baeb83858fdb6ed6e9a31615172d7a8c6c58.tar.bz2
fetchmail-28a9baeb83858fdb6ed6e9a31615172d7a8c6c58.zip
Added --showdots option by Thomas Jarosch <tomj@gmx.de>
svn path=/trunk/; revision=2981
Diffstat (limited to 'options.c')
-rw-r--r--options.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/options.c b/options.c
index 03f99f5e..6f9aaceb 100644
--- a/options.c
+++ b/options.c
@@ -78,6 +78,8 @@
#define LA_SSLCERT 52
#endif
+#define LA_SHOWDOTS 53
+
/* 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:";
@@ -94,6 +96,7 @@ static const struct option longoptions[] = {
{"quit", no_argument, (int *) 0, LA_QUIT },
{"logfile", required_argument, (int *) 0, LA_LOGFILE },
{"invisible", no_argument, (int *) 0, LA_INVISIBLE },
+ {"showdots", no_argument, (int *) 0, LA_SHOWDOTS },
{"syslog", no_argument, (int *) 0, LA_SYSLOG },
{"nosyslog", no_argument, (int *) 0, LA_NOSYSLOG },
{"fetchmailrc",required_argument,(int *) 0, LA_RCFILE },
@@ -299,6 +302,9 @@ struct query *ctl; /* option record to be initialized */
case LA_INVISIBLE:
rctl->invisible = TRUE;
break;
+ case LA_SHOWDOTS:
+ rctl->showdots = TRUE;
+ break;
case 'f':
case LA_RCFILE:
rcfile = (char *) xstrdup(optarg);
@@ -647,6 +653,7 @@ struct query *ctl; /* option record to be initialized */
P(_(" --bsmtp set output BSMTP file\n"));
P(_(" --lmtp use LMTP (RFC2033) for delivery\n"));
P(_(" -r, --folder specify remote folder name\n"));
+ P(_(" --showdots show progress dots even in logfiles\n"));
#undef P
if (helpflag)