X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fconvert4r4.src;h=47987fc8f3cc50a2f6fa7c3c21af45c0f86cb9ef;hb=47b118b298f8d89fe356792daed1eb807fce7952;hp=8075602cb637ac73939f5b167f54b09bbd4be978;hpb=8c4f17b33b068547ee8791c89f32d2453e666096;p=user%2Fhenk%2Fcode%2Fexim.git 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.