aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-03-07 19:41:28 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-03-07 19:41:28 +0000
commitb23e5cf4c6234bdcdc97152f06dabe98e1db2118 (patch)
tree0de3a0d2e0a0a84fbd60d380d2bb82f3e96245a6
parentde67861145546849b56d6eb784a7381c2ff9475a (diff)
downloadfetchmail-b23e5cf4c6234bdcdc97152f06dabe98e1db2118.tar.gz
fetchmail-b23e5cf4c6234bdcdc97152f06dabe98e1db2118.tar.bz2
fetchmail-b23e5cf4c6234bdcdc97152f06dabe98e1db2118.zip
Eliminate duplicate options.
svn path=/trunk/; revision=922
-rw-r--r--options.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/options.c b/options.c
index 52a08ef3..344e845a 100644
--- a/options.c
+++ b/options.c
@@ -63,10 +63,6 @@ static struct option longoptions[] = {
{"syslog", no_argument, (int *) 0, LA_SYSLOG },
{"fetchmailrc",required_argument,(int *) 0, LA_RCFILE },
{"idfile", required_argument, (int *) 0, LA_IDFILE },
-#ifdef linux
- {"interface", required_argument, (int *) 0, LA_INTERFACE },
- {"monitor", required_argument, (int *) 0, LA_MONITOR },
-#endif
{"protocol", required_argument, (int *) 0, LA_PROTOCOL },
{"proto", required_argument, (int *) 0, LA_PROTOCOL },
@@ -91,8 +87,10 @@ static struct option longoptions[] = {
{"fetchlimit",required_argument, (int *) 0, LA_FETCHLIMIT },
{"mda", required_argument, (int *) 0, LA_MDA },
- {"interface", required_argument, (int *) 0, LA_INTERFACE },
- {"monitor", required_argument, (int *) 0, LA_MONITOR },
+#ifdef linux
+ {"interface", required_argument, (int *) 0, LA_INTERFACE },
+ {"monitor", required_argument, (int *) 0, LA_MONITOR },
+#endif
{"yydebug", no_argument, (int *) 0, LA_YYDEBUG },