From fd17182ede5ef93140e204b8b5746e275f494a94 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 3 Jul 1996 03:35:08 +0000 Subject: Got rid of versioninfo member. svn path=/trunk/; revision=29 --- fetchmail.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fetchmail.c') 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); -- cgit v1.2.3