diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2015-10-30 07:42:58 +0100 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2015-10-30 07:42:58 +0100 |
commit | 32d25b33ee109f1979db85d7ddf563246d6bcb7f (patch) | |
tree | a2b49de94b655d404ab3f2559b236d28d7c17387 | |
parent | 72a9a971cb229656e021ab56894ac73baa62c0c0 (diff) | |
download | luaotfload-32d25b33ee109f1979db85d7ddf563246d6bcb7f.tar.gz |
[tool] display fuzzy hint only when not fuzzing
-rwxr-xr-x | src/luaotfload-tool.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/luaotfload-tool.lua b/src/luaotfload-tool.lua index 5508ffc..022b659 100755 --- a/src/luaotfload-tool.lua +++ b/src/luaotfload-tool.lua @@ -1250,13 +1250,14 @@ actions.query = function (job) end else logreport (false, 0, "resolve", "Cannot find %q in index.", query) - logreport (false, 0, "resolve", - "Hint: use the --fuzzy option to display suggestions.", - query) if job.fuzzy == true then logreport (false, 0, "resolve", "Looking for close matches, this may take a while ...") local _success = fonts.names.find_closest(query, job.fuzzy_limit) + else + logreport (false, 0, "resolve", + "Hint: use the --fuzzy option to display suggestions.", + query) end end return true, true |