Print SquidAnalyzer version when debug mode is used.

This commit is contained in:
Darold Gilles 2015-06-13 09:29:42 +02:00
parent b5dbbf92d3
commit a518fbb666
1 changed files with 2 additions and 2 deletions

View File

@ -50,9 +50,9 @@ if ($obsolete) {
} }
# Show version and exit # Show version and exit
if ($version) { if ($version || $debug) {
print "SquidAnalyzer version $SquidAnalyzer::VERSION\n"; print "SquidAnalyzer version $SquidAnalyzer::VERSION\n";
exit 0; exit 0 if ($version);
} }
if ($build_date) { if ($build_date) {