tidying
[exim.git] / src / src / convert4r3.src
index 810b3374fc778ebfc9ee54a4fc2f6de071ad3287..d0b94d15ee909b06d5700769fddf94fb945edd5e 100755 (executable)
@@ -8,6 +8,19 @@
 # It is assumed that the input is a valid Exim configuration file.
 
 use warnings;
+BEGIN { pop @INC if $INC[-1] eq '.' };
+
+use Getopt::Long;
+use File::Basename;
+
+GetOptions(
+    'version' => sub {
+        print basename($0) . ": $0\n",
+            "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n",
+            "perl(runtime): $^V\n";
+            exit 0;
+    },
+);
 
 ##################################################
 #             Analyse one line                   #