From 3b6af95e8db00d6dcd719de0a65253a1e4ea53ba Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 20 Feb 1997 23:26:26 +0000 Subject: Add version number to -v output. svn path=/trunk/; revision=906 --- NEWS | 2 ++ fetchmail.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index dacf3f74..ce3cab03 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,8 @@ features -- * Treat unexpected EOF as a protocol error. +* -v output now includes the version/pl numbers (help for harried maintainer!). + bugs -- * Fix password-shrouding logic so it doesn't crap out on a zero-length diff --git a/fetchmail.c b/fetchmail.c index bd31e0a0..859e438e 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -728,7 +728,8 @@ static int query_host(struct query *ctl) time_t now; time(&now); - fprintf(stderr, "Querying %s (protocol %s) at %s", + fprintf(stderr, "fetchmail: %s.%s querying %s (protocol %s) at %s", + RELEASE_ID, PATCHLEVEL, ctl->server.names->id, showproto(ctl->server.protocol), ctime(&now)); } switch (ctl->server.protocol) { -- cgit v1.2.3