diff options
author | Marius <mariausol@gmail.com> | 2013-03-23 15:20:14 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-03-23 15:20:14 +0200 |
commit | e486991f986cb96e6ef5f5b03f83494f16cb2acb (patch) | |
tree | 4105520acf58999e2764abb2992a8f3228e13fdd /scripts/context/lua/mtx-context.lua | |
parent | e63d6fbae0555a9d20dc3f0f91cf574612a1dfc7 (diff) | |
download | context-e486991f986cb96e6ef5f5b03f83494f16cb2acb.tar.gz |
beta 2013.03.23 14:11
Diffstat (limited to 'scripts/context/lua/mtx-context.lua')
-rw-r--r-- | scripts/context/lua/mtx-context.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-context.lua b/scripts/context/lua/mtx-context.lua index 3fa4a094c..e5016d3eb 100644 --- a/scripts/context/lua/mtx-context.lua +++ b/scripts/context/lua/mtx-context.lua @@ -9,6 +9,7 @@ if not modules then modules = { } end modules ['mtx-context'] = { -- todo: more local functions -- todo: pass jobticket/ctxdata table around +local type, next, tostring, tonumber = type, next, tostring, tonumber local format, gmatch, match, gsub, find = string.format, string.gmatch, string.match, string.gsub, string.find local quote, validstring = string.quote, string.valid local concat = table.concat @@ -1403,7 +1404,8 @@ elseif getargument("extras") then elseif getargument("extra") then scripts.context.extra() elseif getargument("exporthelp") then - application.export(getargument("exporthelp"),environment.files[1]) + -- application.export(getargument("exporthelp"),environment.files[1]) + application.export() elseif getargument("help") then if environment.files[1] == "extras" then scripts.context.extras() |