X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/8c4f17b33b068547ee8791c89f32d2453e666096..e8297f953ed9c8e42f1b406b5ecad4ccdd9d95d3:/src/src/convert4r4.src diff --git a/src/src/convert4r4.src b/src/src/convert4r4.src index 8075602cb..47987fc8f 100755 --- a/src/src/convert4r4.src +++ b/src/src/convert4r4.src @@ -7,6 +7,19 @@ # It is assumed that the input is a valid Exim 3 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; + }, +); # These are lists of main options which are abolished in Exim 4. # The first contains options that are used to construct new options.