diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-11-05 15:51:36 +0100 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-11-05 15:51:36 +0100 |
commit | 80747ab46772d786b2adf066cd2db0ede11457bb (patch) | |
tree | f31605c9523a9a97d3261a98d33a157b04d18d8f | |
parent | f07090bcb38819badfbef38e0f929aab57ee8501 (diff) | |
download | luaotfload-80747ab46772d786b2adf066cd2db0ede11457bb.tar.gz |
[tool] fall back to defaults with empty --fields query
-rwxr-xr-x | luaotfload-tool.lua | 4 |
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 |