X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/8c4f17b33b068547ee8791c89f32d2453e666096..dd19ce4f24eec64177cdcfcf294b8efbb631a24b:/src/src/convert4r3.src diff --git a/src/src/convert4r3.src b/src/src/convert4r3.src index 810b3374f..d0b94d15e 100755 --- a/src/src/convert4r3.src +++ b/src/src/convert4r3.src @@ -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 #