Testsuite: perl version oddity
[exim.git] / src / src / exicyclog.src
index 4fb160ac03a54e1ec5c7e7050921abca7ea12d35..e807099c1470e200f78f8f16189ccf14bd64b9c4 100644 (file)
@@ -1,7 +1,9 @@
 #! /bin/sh
 
+# Copyright (c) The Exim Maintainers 2023
 # Copyright (c) University of Cambridge, 1995 - 2015
 # See the file NOTICE for conditions of use and distribution.
+# SPDX-License-Identifier: GPL-2.0-or-later
 
 # This script takes the following command line arguments:
 # -l dir       Log file directory
@@ -72,6 +74,11 @@ while [ $# -gt 0 ] ; do
   -k) keep=$2
       shift
       ;;
+   --version|-v)
+      echo "`basename $0`: $0"
+      echo "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION"
+      exit 0
+      ;;
    *) echo "** exicyclog: unknown option $1"
       exit 1
       ;;