Print SquidAnalyzer version when debug mode is used.
This commit is contained in:
parent
b5dbbf92d3
commit
a518fbb666
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue