summaryrefslogtreecommitdiff
path: root/src/luaotfload-tool.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luaotfload-tool.lua')
-rwxr-xr-xsrc/luaotfload-tool.lua13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/luaotfload-tool.lua b/src/luaotfload-tool.lua
index 9f00956..f9b9b94 100755
--- a/src/luaotfload-tool.lua
+++ b/src/luaotfload-tool.lua
@@ -723,9 +723,9 @@ set.
--]]--
local action_sequence = {
- "loglevel", "help", "version", "diagnose",
- "blacklist", "cache", "flush", "generate",
- "scan_local", "list", "query",
+ "loglevel", "help", "version", "diagnose",
+ "blacklist", "cache", "flush", "generate",
+ "list", "query",
}
local action_pending = tabletohash(action_sequence, false)
@@ -770,11 +770,6 @@ actions.generate = function (job)
return false, false
end
-actions.scan_local = function (job)
- names.scan_local_fonts ()
- return true, true
-end
-
actions.flush = function (job)
local success = names.flush_lookup_cache()
if success then
@@ -1174,7 +1169,7 @@ local process_cmdline = function ( ) -- unit -> jobspec
action_pending["flush"] = true
elseif v == "L" then
action_pending["generate"] = true
- action_pending["scan_local"] = true
+ luaotfloadconfig.scan_local = true
elseif v == "list" then
action_pending["list"] = true
result.criterion = optarg[n]