summaryrefslogtreecommitdiff
path: root/luaotfload-tool.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-11-05 15:51:36 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2013-11-05 15:51:36 +0100
commit80747ab46772d786b2adf066cd2db0ede11457bb (patch)
treef31605c9523a9a97d3261a98d33a157b04d18d8f /luaotfload-tool.lua
parentf07090bcb38819badfbef38e0f929aab57ee8501 (diff)
downloadluaotfload-80747ab46772d786b2adf066cd2db0ede11457bb.tar.gz
[tool] fall back to defaults with empty --fields query
Diffstat (limited to 'luaotfload-tool.lua')
-rwxr-xr-xluaotfload-tool.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua
index 29d3a43..3d149d0 100755
--- a/luaotfload-tool.lua
+++ b/luaotfload-tool.lua
@@ -944,7 +944,9 @@ actions.list = function (job)
if asked_fields then
asked_fields = lpegmatch(splitcomma, asked_fields)
- else
+ end
+
+ if not asked_fields then
--- some defaults
asked_fields = { "names->fullname", "version", }
end