From ae16d572de5b8e052a097665ddfc79ecbfcffc12 Mon Sep 17 00:00:00 2001 From: William Robinet Date: Fri, 11 Aug 2023 11:25:29 +0200 Subject: [PATCH] Add date to version output --- CMakeLists.txt | 1 + base/pcap-snoop.c.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e9964f..de5f87d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,7 @@ include(CheckSymbolExists) project( ssldump VERSION 1.8 + DESCRIPTION 20230811 LANGUAGES C ) diff --git a/base/pcap-snoop.c.in b/base/pcap-snoop.c.in index b28435b..c25e9b0 100644 --- a/base/pcap-snoop.c.in +++ b/base/pcap-snoop.c.in @@ -120,7 +120,7 @@ int usage() int print_version() { - printf("Version: @ssldump_VERSION@\n"); + printf("Version: @ssldump_VERSION@ (@ssldump_DESCRIPTION@)\n"); printf("Maintained by a bunch of volunteers, see https://github.com/adulau/ssldump/blob/master/CREDITS\n"); printf("Copyright (C) 2015-2023 the aforementioned volunteers\n"); printf("Copyright (C) 1998-2001 RTFM, Inc.\n");