aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--apt-panopticommon.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua
index accfcd5..d8ab129 100644
--- a/apt-panopticommon.lua
+++ b/apt-panopticommon.lua
@@ -101,7 +101,9 @@ APT.options =
101 }, 101 },
102} 102}
103 103
104APT.args = {}
104APT.parseArgs = function(args) 105APT.parseArgs = function(args)
106 APT.args = args
105 local arg = {} 107 local arg = {}
106 local sendArgs = "" 108 local sendArgs = ""
107 if 0 ~= #(args) then 109 if 0 ~= #(args) then
@@ -317,6 +319,9 @@ APT.logPre = function()
317 if nil ~= APT.logFile then 319 if nil ~= APT.logFile then
318 APT.logFile:write("<html><head>\n") 320 APT.logFile:write("<html><head>\n")
319 APT.logFile:write("</head><body bgcolor='black' text='white' alink='red' link='blue' vlink='purple'>\n") 321 APT.logFile:write("</head><body bgcolor='black' text='white' alink='red' link='blue' vlink='purple'>\n")
322 APT.logFile:write("<pre>\n")
323 APT.logFile:write(APT.dumpTable(APT.args, '', 'Arguments'))
324 APT.logFile:write("</pre>\n")
320 end 325 end
321end 326end
322APT.logPost = function() 327APT.logPost = function()