aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-19 16:31:33 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-19 16:31:33 +0000
commit5bd3f8287149511024b95c01fb4212e60ec6fe13 (patch)
tree8ec93923109e7115160a3ad820f5843fc958e0e1 /options.c
parent73562230401b2cd48301805f03aee052927fadd2 (diff)
downloadfetchmail-5bd3f8287149511024b95c01fb4212e60ec6fe13.tar.gz
fetchmail-5bd3f8287149511024b95c01fb4212e60ec6fe13.tar.bz2
fetchmail-5bd3f8287149511024b95c01fb4212e60ec6fe13.zip
Major improvements in --check processing. New-message count is now visible.
svn path=/trunk/; revision=353
Diffstat (limited to 'options.c')
-rw-r--r--options.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/options.c b/options.c
index 54688561..f6899e11 100644
--- a/options.c
+++ b/options.c
@@ -228,6 +228,12 @@ struct hostrec *queryctl; /* option record to be initialized */
}
}
+ if (check_only && poll_interval)
+ {
+ fputs("The --check and --daemon options aren't compatible.\n", stderr);
+ return(-1);
+ }
+
if (errflag || ocount > 1) {
/* squawk if syntax errors were detected */
fputs("usage: fetchmail [options] [server ...]\n", stderr);