diff options
Diffstat (limited to '')
| -rw-r--r-- | apt-panopticommon.lua | 4 |
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 | ||
| 22 | APT.verbosity = -1 | 22 | APT.verbosity = -1 |
| 23 | APT.origin = false | 23 | APT.origin = false |
| 24 | APT.redir = false | ||
| 24 | APT.keep = false | 25 | APT.keep = false |
| 25 | 26 | ||
| 26 | APT.options = | 27 | APT.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 |
