aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-09-10 11:11:09 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-09-10 11:11:09 -0400
commite9fe094b0b9bd21a5db9788060339a9bb0de1d94 (patch)
tree6d183c51ef2072d9484b2ac9716f62ef668395b8
parente456a6a3f3e7b452d23db734a164590d375e8f08 (diff)
Do not cache `_G.arg`; core/args.lua
This also helps fix a bug caused in part by r1557.
-rw-r--r--core/args.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/args.lua b/core/args.lua
index d5712a42..b9635d29 100644
--- a/core/args.lua
+++ b/core/args.lua
@@ -79,8 +79,6 @@ local function show_help()
end
if not CURSES then M.register('-h', '--help', 0, show_help, 'Shows this') end
-local arg = arg
-
-- For Windows, create arg table from single command line string (arg[0]).
if WIN32 and not CURSES and #arg[0] > 0 then
local P, C = lpeg.P, lpeg.C