Add date to version output

This commit is contained in:
William Robinet 2023-08-11 11:25:29 +02:00
parent 8ae5938163
commit ae16d572de
No known key found for this signature in database
GPG key ID: 003FA3DF74C7A949
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ include(CheckSymbolExists)
project( project(
ssldump ssldump
VERSION 1.8 VERSION 1.8
DESCRIPTION 20230811
LANGUAGES C LANGUAGES C
) )

View file

@ -120,7 +120,7 @@ int usage()
int print_version() 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("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) 2015-2023 the aforementioned volunteers\n");
printf("Copyright (C) 1998-2001 RTFM, Inc.\n"); printf("Copyright (C) 1998-2001 RTFM, Inc.\n");