aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-07-03 03:35:08 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-07-03 03:35:08 +0000
commitfd17182ede5ef93140e204b8b5746e275f494a94 (patch)
tree928d43148487e175aa1060356070d5bfcc52bf9e /fetchmail.c
parent486c6b5f15311f5d4c43512749f1c14a69f5ece9 (diff)
downloadfetchmail-fd17182ede5ef93140e204b8b5746e275f494a94.tar.gz
fetchmail-fd17182ede5ef93140e204b8b5746e275f494a94.tar.bz2
fetchmail-fd17182ede5ef93140e204b8b5746e275f494a94.zip
Got rid of versioninfo member.
svn path=/trunk/; revision=29
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 9c2c02b5..b99e8d30 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -52,6 +52,7 @@ int query_host(struct optrec *options);
/* Controls the detail of status/progress messages written to stderr */
int outlevel; /* see the O_.* constants in popclient.h */
+int versioninfo; /* emit only version info */
/* Daemon-mode control */
int poll_interval; /* polling interval for daemon mode */
@@ -98,7 +99,7 @@ char **argv;
if ((parsestatus = parsecmdline(argc,argv,&cmd_opts)) < 0)
exit(PS_SYNTAX);
- if (cmd_opts.versioninfo)
+ if (versioninfo)
showversioninfo();
if (prc_parse_file(poprcfile) != 0)
@@ -123,7 +124,7 @@ char **argv;
}
/* perhaps we just want to check options? */
- if (cmd_opts.versioninfo) {
+ if (versioninfo) {
printf("Taking options from command line and %s\n", poprcfile);
for (hostp = hostlist; hostp; hostp = hostp->next) {
printf("Options for host %s:\n", hostp->servername);