From e9fe094b0b9bd21a5db9788060339a9bb0de1d94 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 10 Sep 2013 11:11:09 -0400 Subject: Do not cache `_G.arg`; core/args.lua This also helps fix a bug caused in part by r1557. --- core/args.lua | 2 -- 1 file changed, 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 -- cgit v1.2.3