Hintsdb: fix build with USE_TDB
[exim.git] / src / src / eximstats.src
index 3b89e6bd7d4767146677ba26709c4882f8bd188d..232b3d13533b6d2549aca3daa121afbd4abdacc6 100644 (file)
@@ -1,7 +1,9 @@
 #!PERL_COMMAND
 
+# Copyright (c) The Exim Maintainers 2023
 # Copyright (c) 2001-2017 University of Cambridge.
 # See the file NOTICE for conditions of use and distribution.
+# SPDX-License-Identifier: GPL-2.0-or-later
 
 # Perl script to generate statistics from one or more Exim log files.
 
@@ -557,7 +559,7 @@ use File::Basename;
 # use Time::Local;  # PH/FANF
 use POSIX;
 
-if (@ARGV and $ARGV[0] eq '--version') {
+if (@ARGV and ($ARGV[0] eq '--version' || $ARGV[0] eq '-v')) {
     print basename($0) . ": $0\n",
         "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n",
         "perl(runtime): $]\n";