aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticommon.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--apt-panopticommon.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua
index 9de97b4..f2a7fee 100644
--- a/apt-panopticommon.lua
+++ b/apt-panopticommon.lua
@@ -3,6 +3,8 @@ local APT = {}
3-- https://oss.oetiker.ch/rrdtool/prog/rrdlua.en.html 3-- https://oss.oetiker.ch/rrdtool/prog/rrdlua.en.html
4APT.rrd = require 'rrd' 4APT.rrd = require 'rrd'
5 5
6APT.version = '0.3 alpha'
7
6APT.protocols = {"ftp", "http", "https", "rsync"} 8APT.protocols = {"ftp", "http", "https", "rsync"}
7APT.tests = {'raw', 'Integrity', 'Protocol', 'Redirects', 'Updated', 'URLSanity', 'Speed'} 9APT.tests = {'raw', 'Integrity', 'Protocol', 'Redirects', 'Updated', 'URLSanity', 'Speed'}
8APT.releases = {"jessie", "ascii", "beowulf", "chimaera", "daedalus", "ceres"} 10APT.releases = {"jessie", "ascii", "beowulf", "chimaera", "daedalus", "ceres"}
@@ -140,7 +142,7 @@ APT.parseArgs = function(args)
140 end 142 end
141 os.exit() 143 os.exit()
142 elseif "--version" == a then 144 elseif "--version" == a then
143 print("apt-panopticon version 0.2 alpha") 145 print("apt-panopticon version " .. APT.version)
144 os.exit() 146 os.exit()
145 elseif "-v" == a then 147 elseif "-v" == a then
146 APT.verbosity = APT.verbosity + 1 148 APT.verbosity = APT.verbosity + 1