diff options
Diffstat (limited to 'libexec/httpd/lua/optparse.lua')
| -rw-r--r-- | libexec/httpd/lua/optparse.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/httpd/lua/optparse.lua b/libexec/httpd/lua/optparse.lua index da9b62a16cf..6acfd99d74e 100644 --- a/libexec/httpd/lua/optparse.lua +++ b/libexec/httpd/lua/optparse.lua @@ -42,7 +42,7 @@ function OptionParser(t) end function o.parse_args() -- expand options (e.g. "--input=file" -> "--input", "file") - local arg = {unpack(arg)} + local arg = {table.unpack(arg)} for i=#arg,1,-1 do local v = arg[i] local flag, val = v:match('^(%-%-%w+)=(.*)') if flag then |
