diff options
Diffstat (limited to '')
| -rw-r--r-- | apt-panopticommon.lua | 4 |
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 |
| 4 | APT.rrd = require 'rrd' | 4 | APT.rrd = require 'rrd' |
| 5 | 5 | ||
| 6 | APT.version = '0.3 alpha' | ||
| 7 | |||
| 6 | APT.protocols = {"ftp", "http", "https", "rsync"} | 8 | APT.protocols = {"ftp", "http", "https", "rsync"} |
| 7 | APT.tests = {'raw', 'Integrity', 'Protocol', 'Redirects', 'Updated', 'URLSanity', 'Speed'} | 9 | APT.tests = {'raw', 'Integrity', 'Protocol', 'Redirects', 'Updated', 'URLSanity', 'Speed'} |
| 8 | APT.releases = {"jessie", "ascii", "beowulf", "chimaera", "daedalus", "ceres"} | 10 | APT.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 |
