summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Aitchison <exim@aitchison.me.uk>2023-03-05 12:47:17 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2023-03-05 12:49:10 +0000
commitc5722bc5a8df130f4733ca3c4398ae51cc7842e0 (patch)
tree129259e6e773667d4a0b9609d895bf3f9c18a335 /src
parentbd0f95ded48f560cb1f9f8b808e1abaabeb4d4ec (diff)
exim_msgdate: version output does not require an exim config
Diffstat (limited to 'src')
-rwxr-xr-xsrc/src/exim_msgdate.src7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/src/exim_msgdate.src b/src/src/exim_msgdate.src
index c591f306e..bfb5bc81e 100755
--- a/src/src/exim_msgdate.src
+++ b/src/src/exim_msgdate.src
@@ -56,7 +56,7 @@ my $localhost_number; # An Exim config value
my $nolocalhost_number;
my $p_name = basename $0;
-my $p_version = "20230203.0";
+my $p_version = "20230304.0";
my $p_cp = <<EOM;
Copyright (c) 2023 The Exim Maintainers 2023
@@ -125,9 +125,10 @@ GetOptions (
);
},
'version' => sub {
- print basename($0), ": $0\n";
- print "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n";
+ print basename($0), ": $p_version $0\n";
+ print "exim build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n";
print "perl(runtime): $]\n";
+ exit 0;
},
) or pod2usage;
# die("Error in command line arguments\n");