aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticommon.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--apt-panopticommon.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua
index eab901e..accfcd5 100644
--- a/apt-panopticommon.lua
+++ b/apt-panopticommon.lua
@@ -21,6 +21,7 @@ APT.notExist =
21 21
22APT.verbosity = -1 22APT.verbosity = -1
23APT.origin = false 23APT.origin = false
24APT.redir = false
24APT.keep = false 25APT.keep = false
25 26
26APT.options = 27APT.options =
@@ -122,6 +123,9 @@ APT.parseArgs = function(args)
122 elseif "-o" == a then 123 elseif "-o" == a then
123 APT.origin = true 124 APT.origin = true
124 -- Not adding to sendArgs. 125 -- Not adding to sendArgs.
126 elseif "-r" == a then
127 APT.redir = true
128 sendArgs = sendArgs .. a .. " "
125 elseif "--" == a:sub(1, 2) then 129 elseif "--" == a:sub(1, 2) then
126 local s, e = a:find("=") 130 local s, e = a:find("=")
127 if nil == s then e = -1 end 131 if nil == s then e = -1 end