aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-02-20 23:26:26 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-02-20 23:26:26 +0000
commit3b6af95e8db00d6dcd719de0a65253a1e4ea53ba (patch)
tree26acfa53d73d9ce771e4d553adbca59583b5f8e7
parentf672ee3316c18d1029104ce3242db5ba1d681313 (diff)
downloadfetchmail-3b6af95e8db00d6dcd719de0a65253a1e4ea53ba.tar.gz
fetchmail-3b6af95e8db00d6dcd719de0a65253a1e4ea53ba.tar.bz2
fetchmail-3b6af95e8db00d6dcd719de0a65253a1e4ea53ba.zip
Add version number to -v output.
svn path=/trunk/; revision=906
-rw-r--r--NEWS2
-rw-r--r--fetchmail.c3
2 files changed, 4 insertions, 1 deletions
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) {